Package be.fgov.ehealth.technicalconnector.ra.service

# Interface EncryptionTokenRegistrationService

All Known Implementing Classes:
  `EncryptionTokenRegistrationServiceImpl`

public interface EncryptionTokenRegistrationService
Interface describing the EncryptionToken Registration service.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Result<Void>`
  `activateToken(Credential credential)`
  `Result<Void>`
  `completeETKRegistration(byte[] etk, Credential credential)`
  `Result<byte[]>`
  `startETKRegistration(PublicKey key, Credential cred)`

- ## Method Details

  - ### startETKRegistration

    Result<byte[]> startETKRegistration(PublicKey key, Credential cred) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### completeETKRegistration

    Result<Void> completeETKRegistration(byte[] etk, Credential credential) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### activateToken

    Result<Void> activateToken(Credential credential) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`