C# Класс iTextSharp.text.pdf.security.PdfPKCS7

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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[]

Приватные методы

Метод Описание
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

Описание методов

GetDigestAlgorithm() публичный Метод

public GetDigestAlgorithm ( ) : String
Результат String

GetEncodedPKCS1() публичный Метод

public GetEncodedPKCS1 ( ) : byte[]
Результат byte[]

GetEncodedPKCS7() публичный Метод

public GetEncodedPKCS7 ( ) : byte[]
Результат byte[]

GetEncodedPKCS7() публичный Метод

public GetEncodedPKCS7 ( byte secondDigest, System.DateTime signingTime ) : byte[]
secondDigest byte
signingTime System.DateTime
Результат byte[]

GetEncodedPKCS7() публичный Метод

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
Результат byte[]

GetEncryptionAlgorithm() публичный Метод

public GetEncryptionAlgorithm ( ) : String
Результат String

GetFilterSubtype() публичный Метод

public GetFilterSubtype ( ) : PdfName
Результат PdfName

GetHashAlgorithm() публичный Метод

public GetHashAlgorithm ( ) : String
Результат String

IsRevocationValid() публичный Метод

public IsRevocationValid ( ) : bool
Результат bool

PdfPKCS7() публичный Метод

public PdfPKCS7 ( ICipherParameters privKey, ICollection certChain, String hashAlgorithm, bool hasRSAdata ) : System
privKey ICipherParameters
certChain ICollection
hashAlgorithm String
hasRSAdata bool
Результат System

PdfPKCS7() публичный Метод

public PdfPKCS7 ( byte contentsKey, PdfName filterSubtype ) : System
contentsKey byte
filterSubtype PdfName
Результат System

PdfPKCS7() публичный Метод

public PdfPKCS7 ( byte contentsKey, byte certsKey ) : System
contentsKey byte
certsKey byte
Результат System

SetExternalDigest() публичный Метод

public SetExternalDigest ( byte digest, byte RSAdata, String digestEncryptionAlgorithm ) : void
digest byte
RSAdata byte
digestEncryptionAlgorithm String
Результат void

Update() публичный Метод

public Update ( byte buf, int off, int len ) : void
buf byte
off int
len int
Результат void

Verify() публичный Метод

public Verify ( ) : bool
Результат bool

VerifyTimestampImprint() публичный Метод

public VerifyTimestampImprint ( ) : bool
Результат bool

getAuthenticatedAttributeBytes() публичный Метод

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
Результат byte[]