java.lang.Object | ||
↳ | sun.security.validator.Validator | |
↳ | sun.security.validator.PKIXValidator |
Validator implementation built on the PKIX CertPath API. This implementation will be emphasized going forward.
Note that the validate() implementation tries to use a PKIX validator if that appears possible and a PKIX builder otherwise. This increases performance and currently also leads to better exception messages in case of failures.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the length of the last certification path that is validated by
CertPathValidator.
| |||||||||||
Return the PKIX parameters used by this instance.
| |||||||||||
Returns an immutable Collection of the X509Certificates this instance
uses as trust anchors.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns the length of the last certification path that is validated by CertPathValidator. This is intended primarily as a callback mechanism for PKIXCertPathCheckers to determine the length of the certification path that is being validated. It is necessary since engineValidate() may modify the length of the path.
Return the PKIX parameters used by this instance. An application may modify the parameters but must make sure not to perform any concurrent validations.
Returns an immutable Collection of the X509Certificates this instance uses as trust anchors.