public abstract class CMSSignatureParameters extends SignatureParameters
CadesSignature,
CadesSignatureStream| Constructor and Description |
|---|
CMSSignatureParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContentTimestampProps(java.lang.String tsaUrl,
java.lang.String username,
java.lang.String password)
Add all details required to create a content timestamp and add it as signed attribute to the
signature.
|
void |
setContentTimestampProperties(java.lang.String tsaUrl,
java.lang.String username,
java.lang.String password)
Set details of timestamp authority, in order to add a content timestamp as signed attribute to
signature.
|
getDigestAlgorithm, getSignatureAlgorithm, getSignedSignerInfoAttributes, getUnsignedSignerInfoAttributes, isSigningCertificateAttributeIncluded, setDigestAlgorithm, setSignatureAlgorithmpublic void addContentTimestampProps(java.lang.String tsaUrl,
java.lang.String username,
java.lang.String password)
tsaUrl - URL of the timestamp authorityusername - username for authorizationpassword - password for authorizationpublic void setContentTimestampProperties(java.lang.String tsaUrl,
java.lang.String username,
java.lang.String password)
tsaUrl - URL of the timestamp authorityusername - username for authorizationpassword - password for authorization