Implementation class for IExternalSignatureContainer. More...
Implementation class for IExternalSignatureContainer.
Implementation class for IExternalSignatureContainer. This external signature container is implemented based on PCS7 standard and PdfPKCS7 class.
◆ PKCS7ExternalSignatureContainer()
| iText.Signatures.PKCS7ExternalSignatureContainer.PKCS7ExternalSignatureContainer |
( |
IPrivateKey |
privateKey, |
|
|
IX509Certificate[] |
chain, |
|
|
String |
hashAlgorithm |
|
) |
|
|
|
inline |
Creates an instance of PKCS7ExternalSignatureContainer
-
Parameters
-
| privateKey |
The private key to sign with |
| chain |
The certificate chain |
| hashAlgorithm |
The hash algorithm to use |
◆ ModifySigningDictionary()
| virtual void iText.Signatures.PKCS7ExternalSignatureContainer.ModifySigningDictionary |
( |
PdfDictionary |
signDic |
) |
|
|
inlinevirtual |
◆ SetCrlClient()
| virtual void iText.Signatures.PKCS7ExternalSignatureContainer.SetCrlClient |
( |
ICrlClient |
crlClient |
) |
|
|
inlinevirtual |
Set the CrlClient if you want revocation data collected trough Crl to be added to the signature
-
Parameters
-
| crlClient |
the client to be used |
◆ SetOcspClient()
| virtual void iText.Signatures.PKCS7ExternalSignatureContainer.SetOcspClient |
( |
IOcspClient |
ocspClient |
) |
|
|
inlinevirtual |
Set the OcspClient if you want revocation data collected trough Ocsp to be added to the signature
-
Parameters
-
| ocspClient |
the client to be used |
◆ SetSignaturePolicy()
| virtual void iText.Signatures.PKCS7ExternalSignatureContainer.SetSignaturePolicy |
( |
SignaturePolicyInfo |
signaturePolicy |
) |
|
|
inlinevirtual |
Set the signature policy if you want it to be added to the signature
-
Parameters
-
| signaturePolicy |
the signature to be set. |
◆ SetSignatureType()
Set a custom signature type, default value CryptoStandard.CMS
-
Parameters
-
| sigType |
the type of signature to be created |
◆ SetTsaClient()
| virtual void iText.Signatures.PKCS7ExternalSignatureContainer.SetTsaClient |
( |
ITSAClient |
tsaClient |
) |
|
|
inlinevirtual |
Set the TsaClient if you want a TSA timestamp added to the signature
-
Parameters
-
| tsaClient |
the client to use |
◆ Sign()
| virtual byte [] iText.Signatures.PKCS7ExternalSignatureContainer.Sign |
( |
Stream |
data |
) |
|
|
inlinevirtual |