Package eu.europa.esig.dss.jades
Class JWSJsonSerializationObject
java.lang.Object
eu.europa.esig.dss.jades.JWSJsonSerializationObject
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets the usedJWSSerializationType
for the signatureGets the base64url encoded payload of a signatureReturns JWS signaturesReturns a list of errors occurred during the structure (schema) validationboolean
isValid()
Checks if the signature structure validation succeededvoid
setJWSSerializationType
(JWSSerializationType jwsSerializationType) Sets theJWSSerializationType
void
setPayload
(String encodedPayload) Sets the base64url encoded payload of a signaturevoid
setSignatures
(List<JWS> signatures) Sets a list of signaturesvoid
setStructuralValidationErrors
(List<String> structuralValidationErrors) Sets a list of errors occurred during the structure (schema) validation
-
Constructor Details
-
JWSJsonSerializationObject
public JWSJsonSerializationObject()Default constructor instantiating object with null values
-
-
Method Details
-
getPayload
-
setPayload
-
getSignatures
-
setSignatures
-
getJWSSerializationType
Gets the usedJWSSerializationType
for the signature- Returns:
JWSSerializationType
-
setJWSSerializationType
Sets theJWSSerializationType
- Parameters:
jwsSerializationType
-JWSSerializationType
-
getStructuralValidationErrors
-
setStructuralValidationErrors
-
isValid
public boolean isValid()Checks if the signature structure validation succeeded- Returns:
- TRUE if the structure validation succeeded, FALSE otherwise
-