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 OCSPCheckerBuilder.OCSPPolicyStep

Enclosing class:
  OCSPCheckerBuilder

    public static interface OCSPCheckerBuilder.OCSPPolicyStep

First step: Choose an OCSP-policy. This policy determines if it's required to do an OCSP-check on the certificate when sealing a message. During this step you can also configure how the OCSP-check will be done by providing a map with OCSPOptions.

In the case you do not provide an OCSPOptions map with key OCSPOption.TRUST_STORE (or the value associated with this key is null), the root of the certificate chain of an OCSPResponder will be trusted implicitly.

Method Summary
`OCSPCheckerBuilder.BuildStep` | `addOCSPPolicy(OCSPPolicy ocspPolicy)` Choose an OCSP-policy, with default options.
`OCSPCheckerBuilder.BuildStep` | `addOCSPPolicy(OCSPPolicy ocspPolicy, java.util.Map<OCSPOption,java.lang.Object> ocspOptions)` Choose an OCSP-policy, with a map to override the default options.

Method Detail

### addOCSPPolicy

    OCSPCheckerBuilder.BuildStep addOCSPPolicy(OCSPPolicy ocspPolicy)

  Choose an OCSP-policy, with default options.

### addOCSPPolicy

    OCSPCheckerBuilder.BuildStep addOCSPPolicy(OCSPPolicy ocspPolicy,
                                               java.util.Map<OCSPOption,java.lang.Object> ocspOptions)

  Choose an OCSP-policy, with a map to override the default options.

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 © 2019 eHealth. All Rights Reserved.