be.fgov.ehealth.etee.crypto.encrypt

## Interface EncryptionTokenChecker

-     public interface EncryptionTokenChecker

  Checks validity of an EncryptionToken. Implementations MUST do following verifications:
  - verify signature of encryptionToken
  - verify validity of certificates in encryptionToken
  - verify KeyUsage of certificates in encryptionToken
  - verify correlation between certificates in encryptionToken
  - verify certificate chain of encryptionToken

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CryptoResult<EncryptionToken>` | `validate(EncryptionToken encryptionToken)`

- - ### Method Detail

    - #### validate

          CryptoResult<EncryptionToken> validate(EncryptionToken encryptionToken)

      Parameters:
        `encryptionToken` - ETK
      Returns:
        result with validation errors if any.

Copyright © 2021 eHealth. All rights reserved.