public class WLSCertPathBuilderResult
extends java.lang.Object
implements java.security.cert.CertPathBuilderResult
For more information, see the sections that describe certification paths in "Developing Security Providers for WebLogic Server."
CertPathBuilderParameters
,
CertPathBuilder
Modifier and Type | Field and Description |
---|---|
private java.security.cert.CertPath |
certPath |
Constructor and Description |
---|
WLSCertPathBuilderResult(java.security.cert.CertPath certPath)
Construct a WLSCertPathBuilderResult using the provided
certification path.
|
WLSCertPathBuilderResult(java.security.cert.X509Certificate[] chain)
Construct a WLSCertPathBuilderResult using the provided
array of X509 certificates.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
This class is not cloneable.
|
java.security.cert.CertPath |
getCertPath()
Return the built and validated certification path.
|
public WLSCertPathBuilderResult(java.security.cert.CertPath certPath)
certPath
- the CertPath to return that includes the validated
cert path that the provider found.java.lang.IllegalArgumentException
- if certPath is null or empty.public WLSCertPathBuilderResult(java.security.cert.X509Certificate[] chain)
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.java.lang.IllegalArgumentException
- if chain
is
null
or empty.public java.security.cert.CertPath getCertPath()
getCertPath
in interface java.security.cert.CertPathBuilderResult
public java.lang.Object clone()
clone
in interface java.security.cert.CertPathBuilderResult
clone
in class java.lang.Object
java.lang.UnsupportedOperationException
- when called.