Package eu.europa.esig.dss.model
Interface SerializableSignatureParameters
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
SerializableCounterSignatureParameters
- All Known Implementing Classes:
AbstractSerializableSignatureParameters
,AbstractSignatureParameters
,ASiCWithCAdESSignatureParameters
,ASiCWithXAdESSignatureParameters
,CAdESCounterSignatureParameters
,CAdESSignatureParameters
,JAdESCounterSignatureParameters
,JAdESSignatureParameters
,PAdESSignatureParameters
,XAdESCounterSignatureParameters
,XAdESSignatureParameters
The interface defines signature parameters
-
Method Summary
Modifier and TypeMethodDescriptionbLevel()
Get Baseline B parameters (signed properties)Get the digest algorithmGet the encryption algorithmDeprecated.since DSS 6.1.Gets the signature algorithm.Get the signing certificateboolean
Deprecated.since DSS 6.1.boolean
Indicates if it is possible to generate ToBeSigned data without the signing certificate.boolean
Deprecated.since DSS 6.1.boolean
Deprecated.since DSS 6.1.
-
Method Details
-
getSigningCertificate
CertificateToken getSigningCertificate()Get the signing certificate- Returns:
- the signing certificate
-
isGenerateTBSWithoutCertificate
boolean isGenerateTBSWithoutCertificate()Indicates if it is possible to generate ToBeSigned data without the signing certificate. The default values is false.- Returns:
- true if signing certificate is not required when generating ToBeSigned data.
-
isSignWithExpiredCertificate
Deprecated.since DSS 6.1. Please useCertificateVerifier.getAlertOnExpiredCertificate
method insteadIndicates if it is possible to sign with an expired certificate. The default value is false.- Returns:
- true if signature with an expired certificate is allowed
-
isSignWithNotYetValidCertificate
Deprecated.since DSS 6.1. Please useCertificateVerifier.getAlertOnNotYetValidCertificate
method insteadIndicates if it is possible to sign with a not yet valid certificate. The default value is false.- Returns:
- true if signature with a not yet valid certificate is allowed
-
isCheckCertificateRevocation
Deprecated.since DSS 6.1. Please useCertificateVerifier.getAlertOnRevokedCertificate
method insteadIndicates whether a revocation check shall be performed before -LT level incorporation (i.e. on signing or T-level creation) for a signing certificate and a respectful certificate chain. When set to false, the revocation check is not performed. When set to true, a real-time revocation is being requested from external sources (shall be defined in CertificateVerifier) and processed according to alerts set within that CertificateVerifier. Default value : false (no revocation check is performed on signature creation or T-level extension)- Returns:
- if signature with a revoked certificate is allowed
-
bLevel
BLevelParameters bLevel()Get Baseline B parameters (signed properties)- Returns:
- the Baseline B parameters
-
getDigestAlgorithm
-
getMaskGenerationFunction
Deprecated.since DSS 6.1. Please use#getEncryptionAlgorithm
method instead to differentiate between RSA (none MGF) and RSASSA_PSS (MGF1)Returns the mask generation function- Returns:
MaskGenerationFunction
-
getEncryptionAlgorithm
EncryptionAlgorithm getEncryptionAlgorithm()Get the encryption algorithm- Returns:
- the encryption algorithm.
-
getSignatureAlgorithm
SignatureAlgorithm getSignatureAlgorithm()Gets the signature algorithm.- Returns:
- the signature algorithm
-