Class LogInfo


  • @Internal
    public class LogInfo
    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.
    • Field Detail

      • logId

        private final byte[] logId
      • publicKey

        private final java.security.PublicKey publicKey
      • state

        private final int state
      • stateTimestamp

        private final long stateTimestamp
      • description

        private final java.lang.String description
      • url

        private final java.lang.String url
      • operator

        private final java.lang.String operator
    • 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()
      • getState

        public int getState()
      • getStateAt

        public int getStateAt​(long when)
      • getStateTimestamp

        public long getStateTimestamp()
      • getOperator

        public java.lang.String getOperator()
      • 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