Class OnePassSignaturePacket

  • All Implemented Interfaces:
    PacketTags, org.bouncycastle.util.Encodable

    public class OnePassSignaturePacket
    extends ContainedPacket
    generic signature object
    • Constructor Detail

      • OnePassSignaturePacket

        public OnePassSignaturePacket​(int sigType,
                                      int hashAlgorithm,
                                      int keyAlgorithm,
                                      long keyID,
                                      boolean isNested)
    • Method Detail

      • getSignatureType

        public int getSignatureType()
        Return the signature type.
        Returns:
        the signature type
      • getKeyAlgorithm

        public int getKeyAlgorithm()
        return the encryption algorithm tag
      • getHashAlgorithm

        public int getHashAlgorithm()
        return the hashAlgorithm tag
      • getKeyID

        public long getKeyID()
        Returns:
        long
      • isContaining

        public boolean isContaining()
        Return true, if the signature contains any signatures that follow. An bracketing OPS is followed by additional OPS packets and is calculated over all the data between itself and its corresponding signature (it is an attestation for encapsulated signatures).
        Returns:
        true if encapsulating, false otherwise