Class JAdESExtensionBuilder
java.lang.Object
eu.europa.esig.dss.jades.signature.JAdESExtensionBuilder
- Direct Known Subclasses:
JAdESCounterSignatureBuilder
,JAdESLevelBaselineT
,JAdESSignaturePolicyStoreBuilder
public abstract class JAdESExtensionBuilder extends Object
The abstract class allowing the signature extension
-
Constructor Summary
Constructors Constructor Description JAdESExtensionBuilder()
-
Method Summary
Modifier and Type Method Description protected void
assertEtsiUComponentsConsistent(JWS jws, boolean isBase64UrlEtsiUComponents)
Checks if the type of etsiU components is consistentprotected void
assertIsJSONSerializationType(JWSSerializationType jwsSerializationType)
Checks if the given signature document type is allowed for the extensionprotected JWSJsonSerializationObject
toJWSJsonSerializationObjectToExtend(DSSDocument document)
Parses the provideddocument
toJWSJsonSerializationObject
Throws an exception if the document cannot be extended
-
Constructor Details
-
JAdESExtensionBuilder
public JAdESExtensionBuilder()
-
-
Method Details
-
assertEtsiUComponentsConsistent
Checks if the type of etsiU components is consistent- Parameters:
jws
-JWS
to checkisBase64UrlEtsiUComponents
- if the new component shall be base64url encoded
-
toJWSJsonSerializationObjectToExtend
Parses the provideddocument
toJWSJsonSerializationObject
Throws an exception if the document cannot be extended- Parameters:
document
-DSSDocument
original document- Returns:
JWSJsonSerializationObject
-
assertIsJSONSerializationType
Checks if the given signature document type is allowed for the extension- Parameters:
jwsSerializationType
-JWSSerializationType
to check
-