Package eu.europa.esig.dss.model
Interface SerializableSignatureParameters
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractSerializableSignatureParameters
,AbstractSignatureParameters
,ASiCWithCAdESSignatureParameters
,ASiCWithXAdESSignatureParameters
,CAdESSignatureParameters
,PAdESSignatureParameters
,XAdESSignatureParameters
public interface SerializableSignatureParameters extends Serializable
-
Method Summary
Modifier and Type Method Description BLevelParameters
bLevel()
Get Baseline B parameters (signed properties)DigestAlgorithm
getDigestAlgorithm()
Get the digest algorithmMaskGenerationFunction
getMaskGenerationFunction()
Returns the mask generation functionCertificateToken
getSigningCertificate()
Get the signing certificateboolean
isGenerateTBSWithoutCertificate()
Indicates if it is possible to generate ToBeSigned data without the signing certificate.boolean
isSignWithExpiredCertificate()
Indicates if it is possible to sign with an expired 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.
-
isSignWithExpiredCertificate
boolean isSignWithExpiredCertificate()Indicates 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
-
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
-
getMaskGenerationFunction
MaskGenerationFunction getMaskGenerationFunction()Returns the mask generation function- Returns:
MaskGenerationFunction
-