Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.security.pk
Class WLSCertPathBuilderResult

    java.lang.Object
      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" on http://edocs.bea.com.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD