BEA Systems, Inc.

weblogic.security.pk
Class SubjectDNSelector

java.lang.Object
  extended by weblogic.security.pk.SubjectDNSelector
All Implemented Interfaces:
CertPathSelector

public final class SubjectDNSelector
extends Object
implements CertPathSelector

Look up and validate certificate chains using the subject distinguished name (DN) of the chain's end certificate.

For more information, see the sections that describe certification paths in "Developing Security Providers for WebLogic Server" and "Programming WebLogic Security" on http://www.oracle.com/technology/documentation/index.html.

See Also:
CertPathBuilderParameters, CertPathBuilder

Constructor Summary
SubjectDNSelector(String subjectDN)
          Construct a SubjectDNSelector using the specified subject DN of the chain's end certificate.
 
Method Summary
 String getSubjectDN()
          The subject DN of the chain's end certificate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubjectDNSelector

public SubjectDNSelector(String subjectDN)
Construct a SubjectDNSelector using the specified subject DN of the chain's end certificate.

Parameters:
subjectDN - A String containing the subject DN
Throws:
IllegalArgumentException - if subjectDN is null or empty
Method Detail

getSubjectDN

public String getSubjectDN()
The subject DN of the chain's end certificate.

Returns:
The subject DN

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.