Package org.conscrypt
Class PinListEntry
java.lang.Object
org.conscrypt.PinListEntry
public class PinListEntry extends Object
This class represents a single entry in the pin file.
-
Constructor Summary
Constructors Constructor Description PinListEntry(String entry, TrustedCertificateStore store) -
Method Summary
Modifier and Type Method Description booleanchainIsNotPinned(List<X509Certificate> chain)Checks the given chain against the pin list corresponding to this entry.StringgetCommonName()booleangetEnforcing()
-
Constructor Details
-
PinListEntry
- Throws:
PinEntryException
-
-
Method Details
-
getCommonName
-
getEnforcing
public boolean getEnforcing() -
chainIsNotPinned
Checks the given chain against the pin list corresponding to this entry. If the pin list does not contain the required certs and the enforcing field is true then this returns true, indicating a verification error. Otherwise, it returns false and verification should proceed.
-