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 the IssuerFingerprint
subpacket instead.
- See Also:
-
RFC4880 - Issuer,
RFC9580 - Issuer Key ID
Constructor Summary |
IssuerKeyID(boolean critical,
boolean isLongLength,
byte[] data)
|
IssuerKeyID(boolean critical,
long keyID)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
IssuerKeyID
public IssuerKeyID(boolean critical,
boolean isLongLength,
byte[] data)
IssuerKeyID
public IssuerKeyID(boolean critical,
long keyID)
keyIDToBytes
protected static byte[] keyIDToBytes(long keyId)
getKeyID
public long getKeyID()
getKeyIdentifier
public KeyIdentifier getKeyIdentifier()