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, JAdESSignatureParameters signatureParameters) Checks if the type of etsiU components is consistentprotected booleanassertEtsiUComponentsConsistent(JWS jws, Boolean isBase64UrlEtsiUComponents) Checks if the type of etsiU components is consistent and returns the target encodingprotected 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
protected void assertEtsiUComponentsConsistent(JWS jws, JAdESSignatureParameters signatureParameters) Checks if the type of etsiU components is consistent- Parameters:
jws-JWSto checksignatureParameters-JAdESSignatureParameters
-
assertEtsiUComponentsConsistent
Checks if the type of etsiU components is consistent and returns the target encoding- Parameters:
jws-JWSto checkisBase64UrlEtsiUComponents- if the new component shall be base64url encoded- Returns:
- TRUE if the etsiU parameters shall be base64url encoded, FALSE otherwise
-
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
-