Package be.ehealth.technicalconnector.service.kgss.domain

# Class KeyResult

java.lang.Object
be.ehealth.technicalconnector.service.kgss.domain.KeyResult

public class KeyResult extends Object
The Class KeyResult.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `KeyResult(SecretKey secretKey, String keyId)`
  Instantiates a new key result.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getKeyId()`
  Gets the key id.
  `SecretKey`
  `getSecretKey()`
  Gets the secret key.
  `void`
  `setKeyId(String keyId)`
  Sets the key id.
  `void`
  `setSecretKey(SecretKey secretKey)`
  Sets the secret key.

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

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

- ## Constructor Details

  - ### KeyResult

    public KeyResult(SecretKey secretKey, String keyId)
    Instantiates a new key result.
    Parameters:
      `secretKey` - the secret key
      `keyId` - the key id

- ## Method Details

  - ### getSecretKey

    public SecretKey getSecretKey()
    Gets the secret key.
    Returns:
      the secret key

  - ### setSecretKey

    public void setSecretKey(SecretKey secretKey)
    Sets the secret key.
    Parameters:
      `secretKey` - the new secret key

  - ### getKeyId

    public String getKeyId()
    Gets the key id.
    Returns:
      the key id

  - ### setKeyId

    public void setKeyId(String keyId)
    Sets the key id.
    Parameters:
      `keyId` - the new key id