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

## be.fgov.ehealth.etee.crypto.ocsp
Interface OCSPChecker

    public interface OCSPChecker

The interface of all OCSP-checkers. Implementations of this interface should be constructed using the `OCSPCheckerBuilder`

Method Summary
`OCSPPolicy` | `getPolicy()`
`CryptoResult<OCSPData>` | `validate(java.security.cert.X509Certificate certificate)`
`CryptoResult<OCSPData>` | `validate(java.security.cert.X509Certificate certificate, java.util.Date signingTime, RevocationValues revocationValues)`

Method Detail

### getPolicy

    OCSPPolicy getPolicy()

  Returns:
    OCSP Policy used by the implementing OCSPChecker.

### validate

    CryptoResult<OCSPData> validate(java.security.cert.X509Certificate certificate)

  Parameters:
    `certificate` - of the signer
  Returns:
    An CryptoResult containing the message (with appended OCSP Response if requested) and the actual OCSP server response.

### validate

    CryptoResult<OCSPData> validate(java.security.cert.X509Certificate certificate,
                                    java.util.Date signingTime,
                                    RevocationValues revocationValues)

  Parameters:
    `certificate` - of the signer
    `signingTime` - time that the certificate in question was used for signing
    `revocationValues` - OCSPResponses and CRLs used to verify the revocation
  Returns:
    An CryptoResult containing the status of the certificate and the actual OCSP server response.

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

Copyright © 2018 eHealth. All Rights Reserved.