Class UserSignature
java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.UserSignature
- All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement
A root EBICS element representing the user signature
element. The user data is signed with the user signature
key sent in the INI request to the EBICS bank server
- See Also:
-
Field Summary
Fields inherited from class DefaultEbicsRootElement
document, session -
Constructor Summary
ConstructorsConstructorDescriptionUserSignature(EbicsUser user, String name, String signatureVersion, byte[] toSign) Constructs a newUserSignatureelement for an Ebics user and a data to sign -
Method Summary
Methods inherited from class DefaultEbicsRootElement
addNamespaceDecl, generateName, generateName, insertSchemaLocation, prettyPrint, print, save, setSaveSuggestedPrefixes, toPrettyString, toString, validate
-
Constructor Details
-
UserSignature
-
-
Method Details
-
build
Description copied from interface:EbicsElementBuilds theEbicsElementXML fragment- Throws:
EbicsException
-
getName
Description copied from interface:EbicsElementReturns the name of thisEbicsElement- Returns:
- the name of the element
-
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
-