Class NoPubKeyDigestsRequestElement
java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.NoPubKeyDigestsRequestElement
- All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement
The
NoPubKeyDigestsRequestElement is the root element
for a HPB ebics server request.- See Also:
-
Field Summary
Fields inherited from class DefaultEbicsRootElement
document, session -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new No Public Key Digests Request element. -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()Builds theEbicsElementXML fragmentbyte[]Returns the digest value of the authenticated XML portions.getName()Returns the name of thisEbicsElementvoidsetAuthSignature(SignatureType authSignature) Sets the authentication signature of theNoPubKeyDigestsRequestElementvoidsetSignatureValue(byte[] signature) Sets the signature value of the request.byte[]Converts theEbicsElementto a byte arrayMethods inherited from class DefaultEbicsRootElement
addNamespaceDecl, generateName, generateName, insertSchemaLocation, prettyPrint, print, save, setSaveSuggestedPrefixes, toPrettyString, toString, validate
-
Constructor Details
-
NoPubKeyDigestsRequestElement
Construct a new No Public Key Digests Request element.- Parameters:
session- the current ebics session.
-
-
Method Details
-
getDigest
Returns the digest value of the authenticated XML portions.- Returns:
- the digest value.
- Throws:
EbicsException- Failed to retrieve the digest value.
-
setAuthSignature
Sets the authentication signature of theNoPubKeyDigestsRequestElement- Parameters:
authSignature- the authentication signature.
-
setSignatureValue
public void setSignatureValue(byte[] signature) Sets the signature value of the request.- Parameters:
signature- the signature value
-
build
Description copied from interface:EbicsElementBuilds theEbicsElementXML fragment- Throws:
EbicsException
-
toByteArray
public byte[] toByteArray()Description copied from interface:EbicsRootElementConverts theEbicsElementto a byte array- Specified by:
toByteArrayin interfaceEbicsRootElement- Overrides:
toByteArrayin classDefaultEbicsRootElement- Returns:
- the equivalent byte array of this
EbicsElement
-
getName
Description copied from interface:EbicsElementReturns the name of thisEbicsElement- Returns:
- the name of the element
-