PdfPKCS7 Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf.security
iTextSharp.text.pdf.security.PdfPKCS7[[PdfPKCS7]]
end
Members
Properties
Public properties
Methods
Internal methods
Public methods
Details
Constructors
PdfPKCS7 [1/3]
Source code
public PdfPKCS7(ICipherParameters privKey, ICollection<X509Certificate> certChain, string hashAlgorithm, bool hasRSAdata)
Arguments
Type | Name | Description |
---|
ICipherParameters | privKey | |
ICollection <X509Certificate > | certChain | |
string | hashAlgorithm | |
bool | hasRSAdata | |
PdfPKCS7 [2/3]
Source code
public PdfPKCS7(byte[] contentsKey, byte[] certsKey)
Arguments
Type | Name | Description |
---|
byte``[] | contentsKey | |
byte``[] | certsKey | |
PdfPKCS7 [3/3]
Source code
public PdfPKCS7(byte[] contentsKey, PdfName filterSubtype)
Arguments
Type | Name | Description |
---|
byte``[] | contentsKey | |
PdfName | filterSubtype | |
Methods
GetHashClass
Source code
internal IDigest GetHashClass()
SetSignaturePolicy [1/2]
Source code
public virtual void SetSignaturePolicy(SignaturePolicyInfo signaturePolicy)
Arguments
SetSignaturePolicy [2/2]
Source code
public virtual void SetSignaturePolicy(SignaturePolicyIdentifier signaturePolicy)
Arguments
Type | Name | Description |
---|
SignaturePolicyIdentifier | signaturePolicy | |
GetHashAlgorithm
Source code
public virtual string GetHashAlgorithm()
GetDigestAlgorithm
Source code
public virtual string GetDigestAlgorithm()
SetExternalDigest
Source code
public virtual void SetExternalDigest(byte[] digest, byte[] RSAdata, string digestEncryptionAlgorithm)
Arguments
Type | Name | Description |
---|
byte``[] | digest | |
byte``[] | RSAdata | |
string | digestEncryptionAlgorithm | |
Update
Source code
public virtual void Update(byte[] buf, int off, int len)
Arguments
Type | Name | Description |
---|
byte``[] | buf | |
int | off | |
int | len | |
GetEncodedPKCS1
Source code
public virtual byte GetEncodedPKCS1()
GetEncodedPKCS7 [1/3]
Source code
public virtual byte GetEncodedPKCS7()
GetEncodedPKCS7 [2/3]
Source code
public virtual byte GetEncodedPKCS7(byte[] secondDigest)
Arguments
Type | Name | Description |
---|
byte``[] | secondDigest | |
GetEncodedPKCS7 [3/3]
Source code
public virtual byte GetEncodedPKCS7(byte[] secondDigest, ITSAClient tsaClient, byte[] ocsp, ICollection<byte[]> crlBytes, CryptoStandard sigtype)
Arguments
Type | Name | Description |
---|
byte``[] | secondDigest | |
ITSAClient | tsaClient | |
byte``[] | ocsp | |
ICollection <byte``[] > | crlBytes | |
CryptoStandard | sigtype | |
getAuthenticatedAttributeBytes
Source code
public virtual byte getAuthenticatedAttributeBytes(byte[] secondDigest, byte[] ocsp, ICollection<byte[]> crlBytes, CryptoStandard sigtype)
Arguments
Type | Name | Description |
---|
byte``[] | secondDigest | |
byte``[] | ocsp | |
ICollection <byte``[] > | crlBytes | |
CryptoStandard | sigtype | |
Verify
Source code
public virtual bool Verify()
VerifyTimestampImprint
Source code
public virtual bool VerifyTimestampImprint()
IsRevocationValid
Source code
public virtual bool IsRevocationValid()
GetFilterSubtype
Source code
public virtual PdfName GetFilterSubtype()
GetEncryptionAlgorithm
Source code
public virtual string GetEncryptionAlgorithm()
Properties
SignName
public virtual string SignName { get; set; }
Reason
public virtual string Reason { get; set; }
Location
public virtual string Location { get; set; }
SignDate
public virtual DateTime SignDate { get; set; }
Version
public virtual int Version { get; }
SigningInfoVersion
public virtual int SigningInfoVersion { get; }
DigestAlgorithmOid
public virtual string DigestAlgorithmOid { get; }
DigestEncryptionAlgorithmOid
public virtual string DigestEncryptionAlgorithmOid { get; }
Certificates
public virtual X509Certificate Certificates { get; }
SignCertificateChain
public virtual X509Certificate SignCertificateChain { get; }
SigningCertificate
public virtual X509Certificate SigningCertificate { get; }
CRLs
public virtual ICollection<X509Crl> CRLs { get; }
Ocsp
public virtual BasicOcspResp Ocsp { get; }
IsTsp
public virtual bool IsTsp { get; }
TimeStampToken
public virtual TimeStampToken TimeStampToken { get; }
TimeStampDate
public virtual DateTime TimeStampDate { get; }
Generated with ModularDoc