be.fgov.ehealth.etee.crypto.encrypt

## Interface DataSealerBuilder.OCSPPolicyStep

- All Superinterfaces:
    DataSealerBuilder.SigningPolicyStep
  Enclosing class:
    DataSealerBuilder

      public static interface DataSealerBuilder.OCSPPolicyStep
      extends DataSealerBuilder.SigningPolicyStep

  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.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataSealerBuilder.SigningPolicyStep` | `addOCSPPolicy(OCSPPolicy policy)` Choose an OCSP-policy, with default options.
    `DataSealerBuilder.SigningPolicyStep` | `addOCSPPolicy(OCSPPolicy policy, java.util.Map<OCSPOption,java.lang.Object> ocspOptions)` Choose an OCSP-policy, with a map to override the default options.

    - ### Methods inherited from interface be.fgov.ehealth.etee.crypto.encrypt.DataSealerBuilder.SigningPolicyStep

      `addSigningPolicy, addSigningPolicy, addSigningPolicy, addSigningPolicy`

- - ### Method Detail

    - #### addOCSPPolicy

          DataSealerBuilder.SigningPolicyStep addOCSPPolicy(OCSPPolicy policy)

      Choose an OCSP-policy, with default options.

    - #### addOCSPPolicy

          DataSealerBuilder.SigningPolicyStep addOCSPPolicy(OCSPPolicy policy,
                                                            java.util.Map<OCSPOption,java.lang.Object> ocspOptions)

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

Copyright © 2021 eHealth. All rights reserved.