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 Details

  • Method Details

    • getCommonName

      public String getCommonName()
    • getEnforcing

      public boolean getEnforcing()
    • chainIsNotPinned

      public boolean chainIsNotPinned​(List<X509Certificate> chain)
      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.