| Modifier and Type | Field and Description |
|---|---|
| private final X500Principal | |
| private final Date | |
| private static final Debug | |
| private PublicKey | |
| private X500Principal | |
| private final boolean | |
| private final String | |
| private final PublicKey |
| Access | Constructor and Description |
|---|---|
| pack-priv | BasicChecker(TrustAnchor
the anchor selected to validate the target certificate anchor, Date the time for which the validity of the certificate
should be determined date, String the name of the signature provider sigProvider, boolean true if only signature checking is to be done;
if false, all checks are done sigOnly)Constructor that initializes the input parameters. |
| Modifier and Type | Method and Description |
|---|---|
| public void | check(Certificate
the Certificate cert, Collection<String> a Collection of the unresolved critical
extensions unresolvedCritExts)Implements abstract java. Performs the signature, validity, and subject/issuer name chaining checks on the certificate using its internal state. |
| pack-priv PublicKey | Returns: PublicKey the last public key processedreturn the public key associated with the last certificate processed |
| public Set | getSupportedExtensions()
Implements abstract java. Returns an immutable |
| public void | init(boolean forward)
Implements abstract java. Implements java. Initializes the internal state of the checker from parameters specified in the constructor. |
| public boolean | isForwardCheckingSupported()
Implements abstract java. Implements java. Indicates if forward checking is supported. |
| pack-priv static PublicKey | Returns: new public key having value and parameterskey from which to obtain key value keyValueKey, PublicKey key from which to obtain key parameters keyParamsKey)Internal method to create a new key with inherited key parameters. |
| private void | |
| private void | verifyNameChaining(X509Certificate cert)
Internal method to check that cert has a valid DN to be next in a chain |
| private void | verifySignature(X509Certificate
the X509Certificate cert)Verifies the signature on the certificate using the previous public key. |
| private void |
| caName | back to summary |
|---|---|
| private final X500Principal caName | |
| date | back to summary |
|---|---|
| private final Date date | |
| debug | back to summary |
|---|---|
| private static final Debug debug | |
| prevPubKey | back to summary |
|---|---|
| private PublicKey prevPubKey | |
| prevSubject | back to summary |
|---|---|
| private X500Principal prevSubject | |
| sigOnly | back to summary |
|---|---|
| private final boolean sigOnly | |
| sigProvider | back to summary |
|---|---|
| private final String sigProvider | |
| trustedPubKey | back to summary |
|---|---|
| private final PublicKey trustedPubKey | |
| BasicChecker | back to summary |
|---|---|
| pack-priv BasicChecker(TrustAnchor anchor, Date date, String sigProvider, boolean sigOnly) Constructor that initializes the input parameters.
| |
| check | back to summary |
|---|---|
| public void check(Certificate cert, Collection<String> unresolvedCritExts) throws CertPathValidatorException Implements abstract java. Performs the signature, validity, and subject/issuer name chaining checks on the certificate using its internal state. This method does not remove any critical extensions from the Collection.
| |
| getPublicKey | back to summary |
|---|---|
| pack-priv PublicKey getPublicKey() return the public key associated with the last certificate processed
| |
| getSupportedExtensions | back to summary |
|---|---|
| public Set Implements abstract java. Doc from java. Returns an immutable
Each element of the set is a
All X.509 certificate extensions that a
| |
| init | back to summary |
|---|---|
| public void init(boolean forward) throws CertPathValidatorException Implements abstract java. Implements java. Initializes the internal state of the checker from parameters specified in the constructor.
| |
| isForwardCheckingSupported | back to summary |
|---|---|
| public boolean isForwardCheckingSupported() Implements abstract java. Implements java. Doc from java. Indicates if forward checking is supported. Forward checking refers
to the ability of the
| |
| makeInheritedParamsKey | back to summary |
|---|---|
| pack-priv static PublicKey makeInheritedParamsKey(PublicKey keyValueKey, PublicKey keyParamsKey) throws CertPathValidatorException Internal method to create a new key with inherited key parameters.
| |
| updateState | back to summary |
|---|---|
| private void updateState(X509Certificate currCert) throws CertPathValidatorException Internal method to manage state information at each iteration | |
| verifyNameChaining | back to summary |
|---|---|
| private void verifyNameChaining(X509Certificate cert) throws CertPathValidatorException Internal method to check that cert has a valid DN to be next in a chain | |
| verifySignature | back to summary |
|---|---|
| private void verifySignature(X509Certificate cert) throws CertPathValidatorException Verifies the signature on the certificate using the previous public key.
| |
| verifyValidity | back to summary |
|---|---|
| private void verifyValidity(X509Certificate cert) throws CertPathValidatorException Internal method to verify the validity on a certificate | |