Package org.bouncycastle.bcpg.sig
Class IssuerKeyID
java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.IssuerKeyID
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 the
IssuerFingerprint
subpacket instead.- See Also:
-
Field Summary
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
Constructor Summary
ConstructorDescriptionIssuerKeyID
(boolean critical, boolean isLongLength, byte[] data) IssuerKeyID
(boolean critical, long keyID) -
Method Summary
Modifier and TypeMethodDescriptionlong
getKeyID()
protected static byte[]
keyIDToBytes
(long keyId) Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
Constructor Details
-
IssuerKeyID
public IssuerKeyID(boolean critical, boolean isLongLength, byte[] data) -
IssuerKeyID
public IssuerKeyID(boolean critical, long keyID)
-
-
Method Details
-
keyIDToBytes
protected static byte[] keyIDToBytes(long keyId) -
getKeyID
public long getKeyID() -
getKeyIdentifier
-