Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.security.pk
Class WLSCertPathBuilderResult

java.lang.Object
  extended by weblogic.security.pk.WLSCertPathBuilderResult
All Implemented Interfaces:
Cloneable, CertPathBuilderResult

public class WLSCertPathBuilderResult
extends Object
implements CertPathBuilderResult

A convenience class for returning results. Certification path builders can use this class rather than writing their own result class.

For more information, see the sections that describe certification paths in "Developing Security Providers for WebLogic Server."

See Also:
CertPathBuilderParameters, CertPathBuilder

Constructor Summary
WLSCertPathBuilderResult(CertPath certPath)
          Construct a WLSCertPathBuilderResult using the provided certification path.
WLSCertPathBuilderResult(X509Certificate[] chain)
          Construct a WLSCertPathBuilderResult using the provided array of X509 certificates.
 
Method Summary
 Object clone()
          This class is not cloneable.
 CertPath getCertPath()
          Return the built and validated certification path.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WLSCertPathBuilderResult

public WLSCertPathBuilderResult(CertPath certPath)
Construct a WLSCertPathBuilderResult using the provided certification path. Used to return the built and validated certification path.

Parameters:
certPath - the CertPath to return that includes the validated cert path that the provider found.
Throws:
IllegalArgumentException - if certPath is null or empty.

WLSCertPathBuilderResult

public WLSCertPathBuilderResult(X509Certificate[] chain)
Construct a WLSCertPathBuilderResult using the provided array of X509 certificates. Used to return the built and validated certification path.

Parameters:
chain - An array of X509Certificates to return as a CertPath. The first element in the array must be the end certificate. The rest of the elements are in signature order.
Throws:
IllegalArgumentException - if chain is null or empty.
Method Detail

getCertPath

public CertPath getCertPath()
Return the built and validated certification path.

Specified by:
getCertPath in interface CertPathBuilderResult

clone

public Object clone()
This class is not cloneable.

Specified by:
clone in interface CertPathBuilderResult
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
12c Release 1 (12.1.1)

Part Number E24391-02