Package org.dogtagpki.common
Class Base64Adapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<byte[],java.lang.String>
-
- org.dogtagpki.common.Base64Adapter
-
public class Base64Adapter extends javax.xml.bind.annotation.adapters.XmlAdapter<byte[],java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description Base64Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
marshal(java.lang.String string)
java.lang.String
unmarshal(byte[] bytes)
-
-
-
Method Detail
-
unmarshal
public java.lang.String unmarshal(byte[] bytes) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<byte[],java.lang.String>
- Throws:
java.lang.Exception
-
marshal
public byte[] marshal(java.lang.String string) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<byte[],java.lang.String>
- Throws:
java.lang.Exception
-
-