Interface XMLSignerResult
- All Superinterfaces:
SignerResult<Document>
- All Known Implementing Classes:
DefaultXMLSignerResult
Represents the result from an XML signature operation.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Gets the canonicalized bytes of theds:SignedInfo
element from theds:Signature
element of the signed document (SignerResult.getSignedDocument()
).Gets theds:Signature
element of the signed document (SignerResult.getSignedDocument()
).Gets theds:SignedInfo
element from theds:Signature
element of the signed document (SignerResult.getSignedDocument()
).Methods inherited from interface se.idsec.signservice.security.sign.SignerResult
getSignedDocument, getSignerCertificate, getSignerCertificateChain, getSigningTime
-
Method Details
-
getSignatureElement
Element getSignatureElement()Gets theds:Signature
element of the signed document (SignerResult.getSignedDocument()
).- Returns:
- the Signature element
-
getSignedInfo
Element getSignedInfo()Gets theds:SignedInfo
element from theds:Signature
element of the signed document (SignerResult.getSignedDocument()
).- Returns:
- the SignedInfo element
-
getCanonicalizedSignedInfo
byte[] getCanonicalizedSignedInfo()Gets the canonicalized bytes of theds:SignedInfo
element from theds:Signature
element of the signed document (SignerResult.getSignedDocument()
).- Returns:
- a byte array
-