Class PgpOnePassSignature
  
  
  
    - Namespace
- Enterprises.Org.BouncyCastle.Bcpg.OpenPgp
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
 
  
  
  
    public class PgpOnePassSignature
   
  
    - Inheritance
- 
      
      PgpOnePassSignature 
    - Inherited Members
- 
    
    
    
    
    
    
    
  
Properties
  
  
  HashAlgorithm
  
  
  
  
  
    public HashAlgorithmTag HashAlgorithm { get; }
   
  Property Value
  
    - HashAlgorithmTag
  KeyAlgorithm
  
  
  
  
  
    public PublicKeyAlgorithmTag KeyAlgorithm { get; }
   
  Property Value
  
    - PublicKeyAlgorithmTag
  KeyId
  
  
  
  
  
    public long KeyId { get; }
   
  Property Value
  
    - long
  SignatureType
  
  
  
  
  
    public int SignatureType { get; }
   
  Property Value
  
    - int
Methods
  
  
  Encode(Stream)
  
  
  
  
  
    public void Encode(Stream outStr)
   
  Parameters
  
    - outStrStream
  GetEncoded()
  
  
  
  
  
    public byte[] GetEncoded()
   
  Returns
  
    - byte[]
  InitVerify(PgpPublicKey)
  
  
  
  
  
    public void InitVerify(PgpPublicKey pubKey)
   
  Parameters
  
    - pubKeyPgpPublicKey
  Update(byte)
  
  
  
  
  
    public void Update(byte b)
   
  Parameters
  
    - bbyte
  Update(byte[])
  
  
  
  
  
    public void Update(byte[] bytes)
   
  Parameters
  
    - bytesbyte[]
  Update(byte[], int, int)
  
  
  
  
  
    public void Update(byte[] bytes, int off, int length)
   
  Parameters
  
    - bytesbyte[]
- offint
- lengthint
  Verify(PgpSignature)
  
  
  
  
  
    public bool Verify(PgpSignature pgpSig)
   
  Parameters
  
    - pgpSigPgpSignature
Returns
  
    - bool