public class CertificateHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
HEXES |
Constructor and Description |
---|
CertificateHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFingerprint(java.nio.ByteBuffer buffer) |
static java.lang.String |
getFingerprint(java.security.cert.Certificate certificate) |
static com.google.common.collect.ImmutableList<java.lang.String> |
getFingerprints(java.security.cert.Certificate[] certificates) |
private static java.lang.String |
hexify(byte[] chksum) |
private static final java.lang.String HEXES
public static com.google.common.collect.ImmutableList<java.lang.String> getFingerprints(java.security.cert.Certificate[] certificates)
public static java.lang.String getFingerprint(java.security.cert.Certificate certificate)
public static java.lang.String getFingerprint(java.nio.ByteBuffer buffer)
private static java.lang.String hexify(byte[] chksum)