Package io.jans.fido2.service
Class Base64Service
java.lang.Object
io.jans.fido2.service.Base64Service
Utility methods for base64 encoding / decoding
- Version:
- May 08, 2020
- Author:
- Yuriy Movchan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]decode(byte[] src) byte[]byte[]encode(byte[] src) encodeToString(byte[] src) voidinit()byte[]urlDecode(byte[] src) byte[]urlEncodeToString(byte[] src) urlEncodeToStringWithoutPadding(byte[] src)
-
Constructor Details
-
Base64Service
public Base64Service()
-
-
Method Details
-
init
@PostConstruct public void init() -
encodeToString
-
encode
public byte[] encode(byte[] src) -
decode
public byte[] decode(byte[] src) -
decode
-
urlEncodeToString
-
urlEncodeToStringWithoutPadding
-
urlDecode
public byte[] urlDecode(byte[] src) -
urlDecode
-