Class CTLogInfo


  • public class CTLogInfo
    extends java.lang.Object
    Properties about a Certificate Transparency Log. This object stores information about a CT log, its public key, description and URL. It allows verification of SCTs against the log's public key.
    • Constructor Summary

      Constructors 
      Constructor Description
      CTLogInfo​(java.security.PublicKey publicKey, java.lang.String description, java.lang.String url)  
    • Constructor Detail

      • CTLogInfo

        public CTLogInfo​(java.security.PublicKey publicKey,
                         java.lang.String description,
                         java.lang.String url)
    • Method Detail

      • getID

        public byte[] getID()
        Get the log's ID, that is the SHA-256 hash of it's public key
      • getPublicKey

        public java.security.PublicKey getPublicKey()
      • getDescription

        public java.lang.String getDescription()
      • getUrl

        public java.lang.String getUrl()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object