Supported types of entity certificate-derived names for name checking purposes are:
Name checking is enabled by default for all of the supported name types. The types of subject alternative names to process are specified by using the appropriate constant values defined in {@link X509Util}. By default the following types of subject alternative names are checked: DNS ( {@link X509Util#DNS_ALT_NAME}) and URI ( {@link X509Util#URI_ALT_NAME}).
The subject distinguished name from the entity certificate is compared to the trusted key names for complete DN matching purposes by parsing each trusted key name into an {@link X500Principal} as returned by the configuredinstance of {@link X500DNHandler}. The resulting distinguished name is then compared with the certificate subject using {@link X500Principal#equals(Object)}. The default X500DNHandler used is {@link InternalX500DNHandler}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|