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

Exibir arquivo Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Methods

Method 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

Method 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 method

public GetDigestAlgorithm ( ) : String
return String

GetEncodedPKCS1() public method

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

GetEncodedPKCS7() public method

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

GetEncodedPKCS7() public method

public GetEncodedPKCS7 ( byte secondDigest, System.DateTime signingTime ) : byte[]
secondDigest byte
signingTime System.DateTime
return byte[]

GetEncodedPKCS7() public method

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
return byte[]

GetEncryptionAlgorithm() public method

public GetEncryptionAlgorithm ( ) : String
return String

GetFilterSubtype() public method

public GetFilterSubtype ( ) : PdfName
return PdfName

GetHashAlgorithm() public method

public GetHashAlgorithm ( ) : String
return String

IsRevocationValid() public method

public IsRevocationValid ( ) : bool
return bool

PdfPKCS7() public method

public PdfPKCS7 ( ICipherParameters privKey, ICollection certChain, String hashAlgorithm, bool hasRSAdata ) : System
privKey ICipherParameters
certChain ICollection
hashAlgorithm String
hasRSAdata bool
return System

PdfPKCS7() public method

public PdfPKCS7 ( byte contentsKey, PdfName filterSubtype ) : System
contentsKey byte
filterSubtype PdfName
return System

PdfPKCS7() public method

public PdfPKCS7 ( byte contentsKey, byte certsKey ) : System
contentsKey byte
certsKey byte
return System

SetExternalDigest() public method

public SetExternalDigest ( byte digest, byte RSAdata, String digestEncryptionAlgorithm ) : void
digest byte
RSAdata byte
digestEncryptionAlgorithm String
return void

Update() public method

public Update ( byte buf, int off, int len ) : void
buf byte
off int
len int
return void

Verify() public method

public Verify ( ) : bool
return bool

VerifyTimestampImprint() public method

public VerifyTimestampImprint ( ) : bool
return bool

getAuthenticatedAttributeBytes() public method

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
return byte[]