Class OnePassSignaturePacket

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

public class OnePassSignaturePacket extends ContainedPacket
generic signature object
  • Constructor Details

    • OnePassSignaturePacket

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

    • 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
    • encode

      public void encode(BCPGOutputStream out) throws IOException
      Specified by:
      encode in class ContainedPacket
      Throws:
      IOException