Package org.bouncycastle.bcpg.sig
Class IntendedRecipientFingerprint
- java.lang.Object
-
- org.bouncycastle.bcpg.SignatureSubpacket
-
- org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
-
public class IntendedRecipientFingerprint extends SignatureSubpacket
Signature Subpacket containing the fingerprint of the intended recipients primary key. This packet can be used to prevent malicious forwarding/replay attacks.- See Also:
- RFC9580 - Intended Recipient Fingerprint
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
-
Constructor Summary
Constructors Constructor Description IntendedRecipientFingerprint(boolean critical, boolean isLongLength, byte[] data)
IntendedRecipientFingerprint(boolean critical, int keyVersion, byte[] fingerprint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getFingerprint()
KeyIdentifier
getKeyIdentifier()
int
getKeyVersion()
-
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
-
-
-
Method Detail
-
getKeyVersion
public int getKeyVersion()
-
getFingerprint
public byte[] getFingerprint()
-
getKeyIdentifier
public KeyIdentifier getKeyIdentifier()
-
-