public class Base64Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
base64Decode(String aData)
Decodes a text in base 64 to a set of bytes
|
static String |
base64Encode(byte[] aData)
Performs encoding in base 64 of a set of bytes
|
static String |
encodeX509CertChainToBase64(Certificate[] aCertificationChain)
Performs the encoding of a certificate chain to base64
|
public static String base64Encode(byte[] aData)
aData - of a set of bytespublic static byte[] base64Decode(String aData)
aData - Text to be decodedpublic static String encodeX509CertChainToBase64(Certificate[] aCertificationChain) throws CertificateException
aCertificationChain - certificate chainCertificateException - exceptionCopyright © 2025 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.