public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
intToByteArray(int value)
Transforms int to Big Endian according to specification RFC 3161.
|
static byte[] |
readContent(String parmFile)
Loads the contents of a file from the disk
|
static void |
writeContent(byte[] content,
String parmFile)
Writes a set of bytes to a file on disk
|
public static byte[] intToByteArray(int value)
value - the int value.public static byte[] readContent(String parmFile) throws CertificateCoreException
parmFile - Filename and pathCertificateCoreExceptionpublic static void writeContent(byte[] content,
String parmFile)
throws CertificateCoreException
content - Content to be written to diskparmFile - Filename and pathCertificateCoreException - fake.Copyright © 2023 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.