Bouncy Castle Cryptography Library 1.79

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

Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
 
Constructor Summary
IssuerKeyID(boolean critical, boolean isLongLength, byte[] data)
           
IssuerKeyID(boolean critical, long keyID)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssuerKeyID

public IssuerKeyID(boolean critical,
                   boolean isLongLength,
                   byte[] data)

IssuerKeyID

public IssuerKeyID(boolean critical,
                   long keyID)
Method Detail

keyIDToBytes

protected static byte[] keyIDToBytes(long keyId)

getKeyID

public long getKeyID()

getKeyIdentifier

public KeyIdentifier getKeyIdentifier()

Bouncy Castle Cryptography Library 1.79