Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg.sig
Class TrustSignature

java.lang.Object
  |
  +--org.bouncycastle.bcpg.SignatureSubpacket
        |
        +--org.bouncycastle.bcpg.sig.TrustSignature

public class TrustSignature
extends SignatureSubpacket

Signature Subpacket encoding the level and amount of trust the issuer places into the certified key or identity.

See Also:
RFC4880 - Trust Packet, RFC9580 - Trust Signature

Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
 
Constructor Summary
TrustSignature(boolean critical, boolean isLongLength, byte[] data)
           
TrustSignature(boolean critical, int depth, int trustAmount)
           
 
Method Summary
 int getDepth()
           
 int getTrustAmount()
           
 
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

TrustSignature

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

TrustSignature

public TrustSignature(boolean critical,
                      int depth,
                      int trustAmount)
Method Detail

getDepth

public int getDepth()

getTrustAmount

public int getTrustAmount()

Bouncy Castle Cryptography Library 1.79