C# Class Org.BouncyCastle.Cms.SignerInformation

Datei anzeigen Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
AddCounterSigners ( SignerInformation signerInformation, SignerInformationStore counterSigners ) : SignerInformation
GetContentDigest ( ) : byte[]
GetCounterSignatures ( ) : SignerInformationStore
GetEncodedSignedAttributes ( ) : byte[]
GetSignature ( ) : byte[]
ReplaceUnsignedAttributes ( SignerInformation signerInformation, Asn1 unsignedAttributes ) : SignerInformation
ToSignerInfo ( ) : SignerInfo
Verify ( AsymmetricKeyParameter pubKey ) : bool
Verify ( X509Certificate cert ) : bool

Private Methods

Method Description
DerDecode ( byte encoding ) : Org.BouncyCastle.Asn1.X509.DigestInfo
DoVerify ( AsymmetricKeyParameter key ) : bool
GetSigningTime ( ) : Asn1.Cms.Time
GetSingleValuedSignedAttribute ( DerObjectIdentifier attrOID, string printableName ) : Asn1Object
IsNull ( Asn1Encodable o ) : bool
SignerInformation ( SignerInfo info, DerObjectIdentifier contentType, CmsProcessable content, IDigestCalculator digestCalculator ) : System
VerifyDigest ( byte digest, AsymmetricKeyParameter key, byte signature ) : bool

Method Details

AddCounterSigners() public static method

public static AddCounterSigners ( SignerInformation signerInformation, SignerInformationStore counterSigners ) : SignerInformation
signerInformation SignerInformation
counterSigners SignerInformationStore
return SignerInformation

GetContentDigest() public method

public GetContentDigest ( ) : byte[]
return byte[]

GetCounterSignatures() public method

public GetCounterSignatures ( ) : SignerInformationStore
return SignerInformationStore

GetEncodedSignedAttributes() public method

public GetEncodedSignedAttributes ( ) : byte[]
return byte[]

GetSignature() public method

public GetSignature ( ) : byte[]
return byte[]

ReplaceUnsignedAttributes() public static method

public static ReplaceUnsignedAttributes ( SignerInformation signerInformation, Asn1 unsignedAttributes ) : SignerInformation
signerInformation SignerInformation
unsignedAttributes Asn1
return SignerInformation

ToSignerInfo() public method

public ToSignerInfo ( ) : SignerInfo
return SignerInfo

Verify() public method

public Verify ( AsymmetricKeyParameter pubKey ) : bool
pubKey AsymmetricKeyParameter
return bool

Verify() public method

public Verify ( X509Certificate cert ) : bool
cert X509Certificate
return bool