Package es.gob.afirma.tsl.elements.json
Class ByteArrayB64
- java.lang.Object
-
- es.gob.afirma.tsl.elements.json.ByteArrayB64
-
- All Implemented Interfaces:
java.io.Serializable
public class ByteArrayB64 extends java.lang.Object implements java.io.SerializableClass that represents an element transformation between an array of bytes and a base 64 string representation.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 10/10/2020.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByteArrayB64(byte[] byteArrayParam)Constructor method for the class ByteArrayB64.java.ByteArrayB64(java.lang.String byteArrayB64String)Constructor method for the class ByteArrayB64.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getByteArray()Gets the value of the attributebyteArray.voidsetByteArray(byte[] byteArrayParam)Sets the value of the attributebyteArray.java.lang.StringtoString()
-
-
-
Constructor Detail
-
ByteArrayB64
public ByteArrayB64(byte[] byteArrayParam)
Constructor method for the class ByteArrayB64.java.- Parameters:
byteArrayParam- Byte array to set.
-
ByteArrayB64
public ByteArrayB64(java.lang.String byteArrayB64String)
Constructor method for the class ByteArrayB64.java.- Parameters:
byteArrayB64String- Byte array in B64 String representation.
-
-
Method Detail
-
getByteArray
public byte[] getByteArray()
Gets the value of the attributebyteArray.- Returns:
- the value of the attribute
byteArray.
-
setByteArray
public void setByteArray(byte[] byteArrayParam)
Sets the value of the attributebyteArray.- Parameters:
byteArrayParam- The value for the attributebyteArray.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-