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 algorithmGets the signature algorithm.Get the signing certificateboolean
Indicates 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.boolean
Indicates if it is possible to generate ToBeSigned data without the signing certificate.
-
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.
-
isCheckCertificateRevocation
boolean isCheckCertificateRevocation()Indicates 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
DigestAlgorithm getDigestAlgorithm()Get the digest algorithm- Returns:
- the digest algorithm
-
getEncryptionAlgorithm
EncryptionAlgorithm getEncryptionAlgorithm()Get the encryption algorithm- Returns:
- the encryption algorithm.
-
getSignatureAlgorithm
SignatureAlgorithm getSignatureAlgorithm()Gets the signature algorithm.- Returns:
- the signature algorithm
-