C# 클래스 iTextSharp.text.pdf.PdfPKCS7

파일 보기 프로젝트 열기: red-gate/iTextSharp-4.1.6 1 사용 예제들

공개 메소드들

메소드 설명
GetAlgorithm ( String oid ) : String
GetAuthenticatedAttributeBytes ( byte secondDigest, System.DateTime signingTime, byte ocsp ) : byte[]
GetDigest ( String oid ) : String
GetDigestAlgorithm ( ) : String
GetEncodedPKCS1 ( ) : byte[]
GetEncodedPKCS7 ( ) : byte[]
GetEncodedPKCS7 ( byte secondDigest, System.DateTime signingTime ) : byte[]
GetEncodedPKCS7 ( byte secondDigest, System.DateTime signingTime, ITSAClient tsaClient, byte ocsp ) : byte[]
GetHashAlgorithm ( ) : String
GetIssuerFields ( X509Certificate cert ) : X509Name
GetOCSPURL ( X509Certificate certificate ) : String
GetSubjectFields ( X509Certificate cert ) : X509Name
IsRevocationValid ( ) : bool
PdfPKCS7 ( ICipherParameters privKey, X509Certificate certChain, object crlList, String hashAlgorithm, bool hasRSAdata ) : System
PdfPKCS7 ( byte contentsKey ) : 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
VerifyCertificate ( X509Certificate cert, object crls, System.DateTime calendar ) : String
VerifyCertificates ( X509Certificate certs, ArrayList keystore, object crls, System.DateTime calendar ) : Object[]
VerifyOcspCertificates ( BasicOcspResp ocsp, ArrayList keystore ) : bool
VerifyTimestampCertificates ( TimeStampToken ts, ArrayList keystore ) : bool
VerifyTimestampImprint ( ) : bool

비공개 메소드들

메소드 설명
BuildUnauthenticatedAttributes ( byte timeStampToken ) : Asn1EncodableVector
CalcSignCertificateChain ( ) : void
FindOcsp ( Asn1Sequence seq ) : void
GetAuthenticatedAttributeSet ( byte secondDigest, System.DateTime signingTime, byte ocsp ) : DerSet
GetExtensionValue ( X509Certificate cert, String oid ) : Asn1Object
GetHashClass ( ) : IDigest
GetIssuer ( byte enc ) : Asn1Object
GetStringFromGeneralName ( Asn1Object names ) : String
GetSubject ( byte enc ) : Asn1Object
PdfPKCS7 ( ) : System

메소드 상세

GetAlgorithm() 공개 정적인 메소드

public static GetAlgorithm ( String oid ) : String
oid String
리턴 String

GetAuthenticatedAttributeBytes() 공개 메소드

public GetAuthenticatedAttributeBytes ( byte secondDigest, System.DateTime signingTime, byte ocsp ) : byte[]
secondDigest byte
signingTime System.DateTime
ocsp byte
리턴 byte[]

GetDigest() 공개 정적인 메소드

public static GetDigest ( String oid ) : String
oid String
리턴 String

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 ) : byte[]
secondDigest byte
signingTime System.DateTime
tsaClient ITSAClient
ocsp byte
리턴 byte[]

GetHashAlgorithm() 공개 메소드

public GetHashAlgorithm ( ) : String
리턴 String

GetIssuerFields() 공개 정적인 메소드

public static GetIssuerFields ( X509Certificate cert ) : X509Name
cert Org.BouncyCastle.X509.X509Certificate
리턴 X509Name

GetOCSPURL() 공개 정적인 메소드

public static GetOCSPURL ( X509Certificate certificate ) : String
certificate Org.BouncyCastle.X509.X509Certificate
리턴 String

GetSubjectFields() 공개 정적인 메소드

public static GetSubjectFields ( X509Certificate cert ) : X509Name
cert Org.BouncyCastle.X509.X509Certificate
리턴 X509Name

IsRevocationValid() 공개 메소드

public IsRevocationValid ( ) : bool
리턴 bool

PdfPKCS7() 공개 메소드

public PdfPKCS7 ( ICipherParameters privKey, X509Certificate certChain, object crlList, String hashAlgorithm, bool hasRSAdata ) : System
privKey ICipherParameters
certChain Org.BouncyCastle.X509.X509Certificate
crlList object
hashAlgorithm String
hasRSAdata bool
리턴 System

PdfPKCS7() 공개 메소드

public PdfPKCS7 ( byte contentsKey ) : System
contentsKey byte
리턴 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

VerifyCertificate() 공개 정적인 메소드

public static VerifyCertificate ( X509Certificate cert, object crls, System.DateTime calendar ) : String
cert Org.BouncyCastle.X509.X509Certificate
crls object
calendar System.DateTime
리턴 String

VerifyCertificates() 공개 정적인 메소드

public static VerifyCertificates ( X509Certificate certs, ArrayList keystore, object crls, System.DateTime calendar ) : Object[]
certs Org.BouncyCastle.X509.X509Certificate
keystore System.Collections.ArrayList
crls object
calendar System.DateTime
리턴 Object[]

VerifyOcspCertificates() 공개 정적인 메소드

public static VerifyOcspCertificates ( BasicOcspResp ocsp, ArrayList keystore ) : bool
ocsp BasicOcspResp
keystore System.Collections.ArrayList
리턴 bool

VerifyTimestampCertificates() 공개 정적인 메소드

public static VerifyTimestampCertificates ( TimeStampToken ts, ArrayList keystore ) : bool
ts TimeStampToken
keystore System.Collections.ArrayList
리턴 bool

VerifyTimestampImprint() 공개 메소드

public VerifyTimestampImprint ( ) : bool
리턴 bool