C# Class Org.BouncyCastle.Cms.SignerInformation

Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static AddCounterSigners ( SignerInformation signerInformation, SignerInformationStore counterSigners ) : SignerInformation
signerInformation SignerInformation
counterSigners SignerInformationStore
Résultat SignerInformation

GetContentDigest() public méthode

public GetContentDigest ( ) : byte[]
Résultat byte[]

GetCounterSignatures() public méthode

public GetCounterSignatures ( ) : SignerInformationStore
Résultat SignerInformationStore

GetEncodedSignedAttributes() public méthode

public GetEncodedSignedAttributes ( ) : byte[]
Résultat byte[]

GetSignature() public méthode

public GetSignature ( ) : byte[]
Résultat byte[]

ReplaceUnsignedAttributes() public static méthode

public static ReplaceUnsignedAttributes ( SignerInformation signerInformation, Asn1 unsignedAttributes ) : SignerInformation
signerInformation SignerInformation
unsignedAttributes Asn1
Résultat SignerInformation

ToSignerInfo() public méthode

public ToSignerInfo ( ) : SignerInfo
Résultat SignerInfo

Verify() public méthode

public Verify ( AsymmetricKeyParameter pubKey ) : bool
pubKey AsymmetricKeyParameter
Résultat bool

Verify() public méthode

public Verify ( X509Certificate cert ) : bool
cert X509Certificate
Résultat bool