Class SignerInformation
- Namespace
- Enterprises.Org.BouncyCastle.Cms
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class SignerInformation
- Inheritance
-
SignerInformation
- Inherited Members
-
Constructors
protected SignerInformation(SignerInformation baseInfo)
Parameters
baseInfo
SignerInformation
Properties
ContentType
public DerObjectIdentifier ContentType { get; }
Property Value
- DerObjectIdentifier
public string DigestAlgOid { get; }
Property Value
- string
public Asn1Object DigestAlgParams { get; }
Property Value
- Asn1Object
public AlgorithmIdentifier DigestAlgorithmID { get; }
Property Value
- AlgorithmIdentifier
public string EncryptionAlgOid { get; }
Property Value
- string
public Asn1Object EncryptionAlgParams { get; }
Property Value
- Asn1Object
public AlgorithmIdentifier EncryptionAlgorithmID { get; }
Property Value
- AlgorithmIdentifier
public bool IsCounterSignature { get; }
Property Value
- bool
public AttributeTable SignedAttributes { get; }
Property Value
- AttributeTable
public SignerID SignerID { get; }
Property Value
- SignerID
public AttributeTable UnsignedAttributes { get; }
Property Value
- AttributeTable
public int Version { get; }
Property Value
- int
Methods
public static SignerInformation AddCounterSigners(SignerInformation signerInformation, SignerInformationStore counterSigners)
Parameters
signerInformation
SignerInformation
counterSigners
SignerInformationStore
Returns
- SignerInformation
GetContentDigest()
public byte[] GetContentDigest()
Returns
- byte[]
public SignerInformationStore GetCounterSignatures()
Returns
- SignerInformationStore
public byte[] GetEncodedSignedAttributes()
Returns
- byte[]
public byte[] GetSignature()
Returns
- byte[]
public static SignerInformation ReplaceUnsignedAttributes(SignerInformation signerInformation, AttributeTable unsignedAttributes)
Parameters
signerInformation
SignerInformation
unsignedAttributes
AttributeTable
Returns
- SignerInformation
public SignerInfo ToSignerInfo()
Returns
- SignerInfo
public bool Verify(AsymmetricKeyParameter pubKey)
Parameters
pubKey
AsymmetricKeyParameter
Returns
- bool
public bool Verify(X509Certificate cert)
Parameters
cert
X509Certificate
Returns
- bool