Class LogInfo
java.lang.Object
org.conscrypt.ct.LogInfo
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]getID()Get the log's ID, that is the SHA-256 hash of it's public keyintgetState()intgetStateAt(long when) longgetUrl()inthashCode()Verify the signature of a signed certificate timestamp for the given certificate entry against the log's public key.
-
Field Details
-
STATE_UNKNOWN
public static final int STATE_UNKNOWN- See Also:
-
STATE_PENDING
public static final int STATE_PENDING- See Also:
-
STATE_QUALIFIED
public static final int STATE_QUALIFIED- See Also:
-
STATE_USABLE
public static final int STATE_USABLE- See Also:
-
STATE_READONLY
public static final int STATE_READONLY- See Also:
-
STATE_RETIRED
public static final int STATE_RETIRED- See Also:
-
STATE_REJECTED
public static final int STATE_REJECTED- See Also:
-
logId
private final byte[] logId -
publicKey
-
state
private final int state -
stateTimestamp
private final long stateTimestamp -
description
-
url
-
operator
-
-
Constructor Details
-
LogInfo
-
-
Method Details
-
getID
public byte[] getID()Get the log's ID, that is the SHA-256 hash of it's public key -
getPublicKey
-
getDescription
-
getUrl
-
getState
public int getState() -
getStateAt
public int getStateAt(long when) -
getStateTimestamp
public long getStateTimestamp() -
getOperator
-
equals
-
hashCode
-
verifySingleSCT
Verify the signature of a signed certificate timestamp for the given certificate entry against the log's public key.- Returns:
- the result of the verification
-