Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.security.pk
Class CertPathBuilderParameters

java.lang.Object
  extended by weblogic.security.pk.CertPathBuilderParameters
All Implemented Interfaces:
Cloneable, CertPathParameters

public final class CertPathBuilderParameters
extends Object
implements CertPathParameters

The certification path builder parameters that a caller must use to access the WebLogic Server Certificate Lookup and Validation (CLV) Framework via the JDK's CertPathBuilder API.

Pass an instance of CertPathBuilderParameters as the CertPathParameters object to the JDK's CertPathBuilder.build() method.

For more information, see the sections that describe certification paths in "Programming WebLogic Security."

See Also:
CertPathBuilder

Constructor Summary
CertPathBuilderParameters(String realmName, CertPathSelector selector, X509Certificate[] trustedCAs, ContextHandler context)
          Construct a CertPathBuilderParameters.
 
Method Summary
 Object clone()
          This class is not cloneable.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertPathBuilderParameters

public CertPathBuilderParameters(String realmName,
                                 CertPathSelector selector,
                                 X509Certificate[] trustedCAs,
                                 ContextHandler context)
Construct a CertPathBuilderParameters. You must provide realmName and selector.

You can provide a list of trusted certificate authorities (CAs) for use when building the certification path. If trustedCAs is null, the default set of trusted CAs configured for the server is used.

You can also provide a ContextHandler object containing extra parameters for use when building the certification path. Setting context to null indicates that there are no context parameters.

Parameters:
realmName - The name of the security realm (for example, myrealm)
selector - A certification path
trustedCAs - Optional list of trusted certificate authorities
context - Optional additional certification-path build parameters
Throws:
IllegalArgumentException - if realmName is null or empty, or if selector is null
See Also:
CertPathSelector
Method Detail

clone

public Object clone()
This class is not cloneable.

Specified by:
clone in interface CertPathParameters
Overrides:
clone in class Object
Throws:
UnsupportedOperationException - when called

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06