C# Class iTextSharp.text.pdf.security.PdfPKCS7

Afficher le fichier Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Méthodes publiques

Méthode Description
GetDigestAlgorithm ( ) : String
GetEncodedPKCS1 ( ) : byte[]
GetEncodedPKCS7 ( ) : byte[]
GetEncodedPKCS7 ( byte secondDigest, System.DateTime signingTime ) : byte[]
GetEncodedPKCS7 ( byte secondDigest, System.DateTime signingTime, ITSAClient tsaClient, byte ocsp, ICollection crlBytes, CryptoStandard sigtype ) : byte[]
GetEncryptionAlgorithm ( ) : String
GetFilterSubtype ( ) : PdfName
GetHashAlgorithm ( ) : String
IsRevocationValid ( ) : bool
PdfPKCS7 ( ICipherParameters privKey, ICollection certChain, String hashAlgorithm, bool hasRSAdata ) : System
PdfPKCS7 ( byte contentsKey, PdfName filterSubtype ) : System
PdfPKCS7 ( byte contentsKey, byte certsKey ) : System
SetExternalDigest ( byte digest, byte RSAdata, String digestEncryptionAlgorithm ) : void
Update ( byte buf, int off, int len ) : void
Verify ( ) : bool
VerifyTimestampImprint ( ) : bool
getAuthenticatedAttributeBytes ( byte secondDigest, System.DateTime signingTime, byte ocsp, ICollection crlBytes, CryptoStandard sigtype ) : byte[]

Private Methods

Méthode Description
BuildUnauthenticatedAttributes ( byte timeStampToken ) : Asn1EncodableVector
CalcSignCertificateChain ( ) : void
FindCRL ( Asn1Sequence seq ) : void
FindOcsp ( Asn1Sequence seq ) : void
GetAuthenticatedAttributeSet ( byte secondDigest, System.DateTime signingTime, byte ocsp, ICollection crlBytes, CryptoStandard sigtype ) : DerSet
GetHashClass ( ) : IDigest

Method Details

GetDigestAlgorithm() public méthode

public GetDigestAlgorithm ( ) : String
Résultat String

GetEncodedPKCS1() public méthode

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

GetEncodedPKCS7() public méthode

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

GetEncodedPKCS7() public méthode

public GetEncodedPKCS7 ( byte secondDigest, System.DateTime signingTime ) : byte[]
secondDigest byte
signingTime System.DateTime
Résultat byte[]

GetEncodedPKCS7() public méthode

public GetEncodedPKCS7 ( byte secondDigest, System.DateTime signingTime, ITSAClient tsaClient, byte ocsp, ICollection crlBytes, CryptoStandard sigtype ) : byte[]
secondDigest byte
signingTime System.DateTime
tsaClient ITSAClient
ocsp byte
crlBytes ICollection
sigtype CryptoStandard
Résultat byte[]

GetEncryptionAlgorithm() public méthode

public GetEncryptionAlgorithm ( ) : String
Résultat String

GetFilterSubtype() public méthode

public GetFilterSubtype ( ) : PdfName
Résultat PdfName

GetHashAlgorithm() public méthode

public GetHashAlgorithm ( ) : String
Résultat String

IsRevocationValid() public méthode

public IsRevocationValid ( ) : bool
Résultat bool

PdfPKCS7() public méthode

public PdfPKCS7 ( ICipherParameters privKey, ICollection certChain, String hashAlgorithm, bool hasRSAdata ) : System
privKey ICipherParameters
certChain ICollection
hashAlgorithm String
hasRSAdata bool
Résultat System

PdfPKCS7() public méthode

public PdfPKCS7 ( byte contentsKey, PdfName filterSubtype ) : System
contentsKey byte
filterSubtype PdfName
Résultat System

PdfPKCS7() public méthode

public PdfPKCS7 ( byte contentsKey, byte certsKey ) : System
contentsKey byte
certsKey byte
Résultat System

SetExternalDigest() public méthode

public SetExternalDigest ( byte digest, byte RSAdata, String digestEncryptionAlgorithm ) : void
digest byte
RSAdata byte
digestEncryptionAlgorithm String
Résultat void

Update() public méthode

public Update ( byte buf, int off, int len ) : void
buf byte
off int
len int
Résultat void

Verify() public méthode

public Verify ( ) : bool
Résultat bool

VerifyTimestampImprint() public méthode

public VerifyTimestampImprint ( ) : bool
Résultat bool

getAuthenticatedAttributeBytes() public méthode

public getAuthenticatedAttributeBytes ( byte secondDigest, System.DateTime signingTime, byte ocsp, ICollection crlBytes, CryptoStandard sigtype ) : byte[]
secondDigest byte
signingTime System.DateTime
ocsp byte
crlBytes ICollection
sigtype CryptoStandard
Résultat byte[]