mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-06-13 15:14:54 +02:00
25 lines
584 B
Java
25 lines
584 B
Java
|
package org.jivesoftware.smackx.ox.util;
|
||
|
|
||
|
import java.util.Arrays;
|
||
|
|
||
|
import org.jivesoftware.smackx.ox.OpenPgpV4Fingerprint;
|
||
|
|
||
|
public class KeyBytesAndFingerprint {
|
||
|
|
||
|
private final byte[] bytes;
|
||
|
private final OpenPgpV4Fingerprint fingerprint;
|
||
|
|
||
|
public KeyBytesAndFingerprint(byte[] bytes, OpenPgpV4Fingerprint fingerprint) {
|
||
|
this.bytes = bytes;
|
||
|
this.fingerprint = fingerprint;
|
||
|
}
|
||
|
|
||
|
public byte[] getBytes() {
|
||
|
return Arrays.copyOf(bytes, bytes.length);
|
||
|
}
|
||
|
|
||
|
public OpenPgpV4Fingerprint getFingerprint() {
|
||
|
return fingerprint;
|
||
|
}
|
||
|
}
|