Package | Description |
---|---|
com.itextpdf.text.pdf.security |
Modifier and Type | Method | Description |
---|---|---|
static MakeSignature.CryptoStandard |
MakeSignature.CryptoStandard.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MakeSignature.CryptoStandard[] |
MakeSignature.CryptoStandard.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
byte[] |
PdfPKCS7.getAuthenticatedAttributeBytes(byte[] secondDigest,
byte[] ocsp,
java.util.Collection<byte[]> crlBytes,
MakeSignature.CryptoStandard sigtype) |
When using authenticatedAttributes the authentication process is different.
|
byte[] |
PdfPKCS7.getEncodedPKCS7(byte[] secondDigest,
TSAClient tsaClient,
byte[] ocsp,
java.util.Collection<byte[]> crlBytes,
MakeSignature.CryptoStandard sigtype) |
Gets the bytes for the PKCS7SignedData object.
|
static void |
MakeSignature.signDetached(PdfSignatureAppearance sap,
ExternalDigest externalDigest,
ExternalSignature externalSignature,
java.security.cert.Certificate[] chain,
java.util.Collection<CrlClient> crlList,
OcspClient ocspClient,
TSAClient tsaClient,
int estimatedSize,
MakeSignature.CryptoStandard sigtype) |
Signs the document using the detached mode, CMS or CAdES equivalent.
|
static void |
MakeSignature.signDetached(PdfSignatureAppearance sap,
ExternalDigest externalDigest,
ExternalSignature externalSignature,
java.security.cert.Certificate[] chain,
java.util.Collection<CrlClient> crlList,
OcspClient ocspClient,
TSAClient tsaClient,
int estimatedSize,
MakeSignature.CryptoStandard sigtype,
SignaturePolicyInfo signaturePolicy) |
Signs the document using the detached mode, CMS or CAdES equivalent.
|
static void |
MakeSignature.signDetached(PdfSignatureAppearance sap,
ExternalDigest externalDigest,
ExternalSignature externalSignature,
java.security.cert.Certificate[] chain,
java.util.Collection<CrlClient> crlList,
OcspClient ocspClient,
TSAClient tsaClient,
int estimatedSize,
MakeSignature.CryptoStandard sigtype,
org.bouncycastle.asn1.esf.SignaturePolicyIdentifier signaturePolicy) |
Signs the document using the detached mode, CMS or CAdES equivalent.
|
Copyright © 1998–2018. All rights reserved.