Top Description Fields Constructors Methods
org.bouncycastle.bcpg.sig

public Class RevocationKey

extends SignatureSubpacket
Class Inheritance
Imports
org.bouncycastle.bcpg.KeyIdentifier, .SignatureSubpacket, .SignatureSubpacketTags

Deprecated

since RFC9580

Represents revocation key OpenPGP signature sub packet.

Note

This packet is deprecated. Applications MUST NOT generate such a packet.

See Also
RFC4880 - Revocation Key, RFC9580 - Revocation Key

Field Summary

Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
data

Constructor Summary

AccessConstructor and Description
public
RevocationKey(boolean isCritical, boolean isLongLength, byte[] data)

public
RevocationKey(boolean isCritical, byte signatureClass, int keyAlgorithm, byte[] fingerprint)

Method Summary

Modifier and TypeMethod and Description
private static byte[]
createData(byte signatureClass, byte keyAlgorithm, byte[] fingerprint)

public int
public byte[]
public KeyIdentifier
public byte
Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
encodeequalsgetDatagetTypehashCodeisCriticalisLongLength

Constructor Detail

RevocationKeyback to summary
public RevocationKey(boolean isCritical, boolean isLongLength, byte[] data)
RevocationKeyback to summary
public RevocationKey(boolean isCritical, byte signatureClass, int keyAlgorithm, byte[] fingerprint)

Method Detail

createDataback to summary
private static byte[] createData(byte signatureClass, byte keyAlgorithm, byte[] fingerprint)
getAlgorithmback to summary
public int getAlgorithm()
getFingerprintback to summary
public byte[] getFingerprint()
getKeyIdentifierback to summary
public KeyIdentifier getKeyIdentifier()
getSignatureClassback to summary
public byte getSignatureClass()