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
outStr
Stream
GetEncoded()
public byte[] GetEncoded()
Returns
- byte[]
InitVerify(PgpPublicKey)
public void InitVerify(PgpPublicKey pubKey)
Parameters
pubKey
PgpPublicKey
Update(byte)
public void Update(byte b)
Parameters
b
byte
Update(byte[])
public void Update(byte[] bytes)
Parameters
bytes
byte[]
Update(byte[], int, int)
public void Update(byte[] bytes, int off, int length)
Parameters
bytes
byte[]
off
int
length
int
Verify(PgpSignature)
public bool Verify(PgpSignature pgpSig)
Parameters
pgpSig
PgpSignature
Returns
- bool