Package net.minecraftforge.fml.common
Class CertificateHelper
- java.lang.Object
-
- net.minecraftforge.fml.common.CertificateHelper
-
public class CertificateHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
HEXES
-
Constructor Summary
Constructors Constructor Description CertificateHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
HEXES
private static final java.lang.String HEXES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFingerprints
public static com.google.common.collect.ImmutableList<java.lang.String> getFingerprints(java.security.cert.Certificate[] certificates)
-
getFingerprint
public static java.lang.String getFingerprint(java.security.cert.Certificate certificate)
-
getFingerprint
public static java.lang.String getFingerprint(java.nio.ByteBuffer buffer)
-
hexify
private static java.lang.String hexify(byte[] chksum)
-
-