Class CertificateHelper


  • public class CertificateHelper
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String HEXES  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CertificateHelper

        public CertificateHelper()
    • 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)