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

# Class EncryptionTokenRegistrationServiceImpl

java.lang.Object
be.fgov.ehealth.technicalconnector.ra.service.impl.EncryptionTokenRegistrationServiceImpl

All Implemented Interfaces:
  `EncryptionTokenRegistrationService`

public class EncryptionTokenRegistrationServiceImpl extends Object implements EncryptionTokenRegistrationService

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EncryptionTokenRegistrationServiceImpl()`

- ## 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 credential)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EncryptionTokenRegistrationServiceImpl

    public EncryptionTokenRegistrationServiceImpl()

- ## Method Details

  - ### startETKRegistration

    public Result<byte[]> startETKRegistration(PublicKey key, Credential credential) throws TechnicalConnectorException
    Specified by:
      `startETKRegistration` in interface `EncryptionTokenRegistrationService`
    Throws:
      `TechnicalConnectorException`

  - ### completeETKRegistration

    public Result<Void> completeETKRegistration(byte[] etk, Credential credential) throws TechnicalConnectorException
    Specified by:
      `completeETKRegistration` in interface `EncryptionTokenRegistrationService`
    Throws:
      `TechnicalConnectorException`

  - ### activateToken

    public Result<Void> activateToken(Credential credential) throws TechnicalConnectorException
    Specified by:
      `activateToken` in interface `EncryptionTokenRegistrationService`
    Throws:
      `TechnicalConnectorException`