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 Details

    • JAdESExtensionBuilder

      protected JAdESExtensionBuilder()
      Default constructor
  • Method Details

    • assertEtsiUComponentsConsistent

      protected void assertEtsiUComponentsConsistent(JWS jws, boolean isBase64UrlEtsiUComponents)
      Checks if the type of etsiU components is consistent
      Parameters:
      jws - JWS to check
      isBase64UrlEtsiUComponents - if the new component shall be base64url encoded
    • assertJWSJsonSerializationObjectValid

      protected void assertJWSJsonSerializationObjectValid(JWSJsonSerializationObject jwsJsonSerializationObject)
      Checks if the jwsJsonSerializationObject is valid and can be extended
      Parameters:
      jwsJsonSerializationObject - JWSJsonSerializationObject to check
    • assertJSONSerializationObjectMayBeExtended

      protected void assertJSONSerializationObjectMayBeExtended(JWSJsonSerializationObject jwsJsonSerializationObject)
      Checks if the given jwsJsonSerializationObject can be extended
      Parameters:
      jwsJsonSerializationObject - JWSJsonSerializationObject to check