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 and Description
    `SecureString(char[] value)` Creates an object of type `SecureString`.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### SecureString

          public SecureString(char[] value)
                       throws GeneralSecurityException

      Creates an object of type `SecureString`.
      Throws:
        `GeneralSecurityException`

  - ### Method Detail

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

Connector Packaging generic 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.