Class FulcioCertificateMatcher

    • Constructor Detail

      • FulcioCertificateMatcher

        public FulcioCertificateMatcher()
    • Method Detail

      • getIssuer

        public abstract StringMatcher getIssuer()
        Match against the identity token issuer
      • getSubjectAlternativeName

        public abstract StringMatcher getSubjectAlternativeName()
        Match against the identity token subject/email
      • getOidRawStrings

        public abstract java.util.Map<java.lang.String,​StringMatcher> getOidRawStrings()
        For OIDs with raw string entries. This is non-standard, but older fulcio OID extensions values use it.
      • getOidDerAsn1Strings

        public abstract java.util.Map<java.lang.String,​StringMatcher> getOidDerAsn1Strings()
        For OIDs with DER encoded ASN.1 string entries. This is the standard for strings values as OID extensions.
      • getOidBytes

        public abstract java.util.Map<java.lang.String,​byte[]> getOidBytes()
        For comparing raw bytes of the full ASN.1 object extension value as defined by EXTENSION in rfc5280

        The key is the oid string (ex: 1.2.3.4.5) and the value is a raw byte array. Matching is a direct byte array equality check with no mutations on the extension value.

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object