public class CertUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CertUtils.QCStatements |
Constructor and Description |
---|
CertUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatAsHexString(byte[] bytes)
Converts a byte array in its exadecimal representation.
|
static java.lang.String |
getCommonName(java.lang.String DN)
Returns Common Name (string) of the given Distinguished Name
Restituisce il CN del DN in oggetto |
public static java.lang.String formatAsHexString(byte[] bytes)
bytes
- byte[]public static java.lang.String getCommonName(java.lang.String DN)
userCert
- X509Certificate