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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertEtsiUComponentsConsistent(JWS jws, boolean isBase64UrlEtsiUComponents) Checks if the type of etsiU components is consistentprotected voidassertJSONSerializationObjectMayBeExtended(JWSJsonSerializationObject jwsJsonSerializationObject) Checks if the givenjwsJsonSerializationObjectcan be extendedprotected voidassertJWSJsonSerializationObjectValid(JWSJsonSerializationObject jwsJsonSerializationObject) Checks if thejwsJsonSerializationObjectis 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-JWSto checkisBase64UrlEtsiUComponents- if the new component shall be base64url encoded
-
assertJWSJsonSerializationObjectValid
protected void assertJWSJsonSerializationObjectValid(JWSJsonSerializationObject jwsJsonSerializationObject) Checks if thejwsJsonSerializationObjectis valid and can be extended- Parameters:
jwsJsonSerializationObject-JWSJsonSerializationObjectto check
-
assertJSONSerializationObjectMayBeExtended
protected void assertJSONSerializationObjectMayBeExtended(JWSJsonSerializationObject jwsJsonSerializationObject) Checks if the givenjwsJsonSerializationObjectcan be extended- Parameters:
jwsJsonSerializationObject-JWSJsonSerializationObjectto check
-