Class JAdESExtensionBuilder
java.lang.Object
eu.europa.esig.dss.jades.signature.JAdESExtensionBuilder
- Direct Known Subclasses:
JAdESCounterSignatureBuilder
,JAdESLevelBaselineT
,JAdESSignaturePolicyStoreBuilder
The abstract class allowing the signature extension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertEtsiUComponentsConsistent
(JWS jws, boolean isBase64UrlEtsiUComponents) Checks if the type of etsiU components is consistentprotected void
assertJSONSerializationObjectMayBeExtended
(JWSJsonSerializationObject jwsJsonSerializationObject) Checks if the givenjwsJsonSerializationObject
can be extendedprotected void
assertJWSJsonSerializationObjectValid
(JWSJsonSerializationObject jwsJsonSerializationObject) Checks if thejwsJsonSerializationObject
is valid and can be extended
-
Constructor Details
-
JAdESExtensionBuilder
protected JAdESExtensionBuilder()Default constructor
-
-
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
-
assertJWSJsonSerializationObjectValid
protected void assertJWSJsonSerializationObjectValid(JWSJsonSerializationObject jwsJsonSerializationObject) Checks if thejwsJsonSerializationObject
is valid and can be extended- Parameters:
jwsJsonSerializationObject
-JWSJsonSerializationObject
to check
-
assertJSONSerializationObjectMayBeExtended
protected void assertJSONSerializationObjectMayBeExtended(JWSJsonSerializationObject jwsJsonSerializationObject) Checks if the givenjwsJsonSerializationObject
can be extended- Parameters:
jwsJsonSerializationObject
-JWSJsonSerializationObject
to check
-