Class JsseDefaultHostnameAuthorizer

java.lang.Object
org.bouncycastle.est.jcajce.JsseDefaultHostnameAuthorizer
All Implemented Interfaces:
JsseHostnameAuthorizer

public class JsseDefaultHostnameAuthorizer extends Object implements JsseHostnameAuthorizer
A typical hostname authorizer for verifying a hostname against the available certificates.
  • Constructor Details

    • JsseDefaultHostnameAuthorizer

      public JsseDefaultHostnameAuthorizer(Set<String> knownSuffixes)
      Base constructor.

      The authorizer attempts to perform matching (including the use of the wildcard) in accordance with RFC 6125.

      Known suffixes is a list of public domain suffixes that can't be used as wild cards for example *.com, or c*c.com, as a dns wildcard could match every/most .com domains if a registrar were issue it. If *.com is in the known suffixes list will not be allowed to match.

      Parameters:
      knownSuffixes - a set of suffixes that cannot be wild-carded, e.g. { ".com", ".net", ".org" }
  • Method Details