Package org.bouncycastle.bcpg.sig
Class IssuerKeyID
- java.lang.Object
-
- org.bouncycastle.bcpg.SignatureSubpacket
-
- org.bouncycastle.bcpg.sig.IssuerKeyID
-
public class IssuerKeyID extends SignatureSubpacket
Signature Subpacket containing the key-id of the issuers signing (sub-) key. If the version of that key is greater than 4, this subpacket MUST NOT be included in the signature. For these keys, consider theIssuerFingerprint
subpacket instead.- See Also:
- RFC4880 - Issuer, RFC9580 - Issuer Key ID
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
-
Constructor Summary
Constructors Constructor Description IssuerKeyID(boolean critical, boolean isLongLength, byte[] data)
IssuerKeyID(boolean critical, long keyID)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getKeyID()
KeyIdentifier
getKeyIdentifier()
protected static byte[]
keyIDToBytes(long keyId)
-
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
-
-
-
Method Detail
-
keyIDToBytes
protected static byte[] keyIDToBytes(long keyId)
-
getKeyID
public long getKeyID()
-
getKeyIdentifier
public KeyIdentifier getKeyIdentifier()
-
-