Package be.ehealth.technicalconnector.utils

# Class SecureString

java.lang.Object
be.ehealth.technicalconnector.utils.SecureString

public class SecureString extends Object
Java implementation of the .NET SecureString class.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SecureString(char[] value)`
  Creates an object of type `SecureString`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `append(char[] chars)`
  Append more characters to this object.
  `char[]`
  `getValue()`
  Get the content of this string as char[]

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

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

- ## Constructor Details

  - ### SecureString

    public SecureString(char[] value) throws GeneralSecurityException
    Creates an object of type `SecureString`.
    Throws:
      `GeneralSecurityException`

- ## Method Details

  - ### getValue

    public char[] getValue() throws GeneralSecurityException
    Get the content of this string as char[]
    Throws:
      `GeneralSecurityException`

  - ### append

    public void append(char[] chars) throws GeneralSecurityException
    Append more characters to this object.
    Throws:
      `GeneralSecurityException`