public Builder setPublicKey(PublicKey publicKey) {
            Objects.requireNonNull(publicKey);
            this.publicKey = publicKey;
            try {
                this.logId = MessageDigest.getInstance("SHA-256").digest(publicKey.getEncoded());
            } catch (NoSuchAlgorithmException e) {
                // SHA-256 is guaranteed to be available
                throw new RuntimeException(e);
            }
            return this;
        }
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.
common/src/main/java/org/conscrypt/ct/LogInfo.java