be.ehealth.technicalconnector.utils
Class SecureString

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

public class SecureString
extends Object

Java implementation of the .NET SecureString class.


Constructor Summary
SecureString(char[] value)
          Creates an object of type SecureString.
 
Method Summary
 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 UnsupportedEncodingException,
                    GeneralSecurityException
Creates an object of type SecureString.

Parameters:
value -
Throws:
UnsupportedEncodingException
GeneralSecurityException
Method Detail

getValue

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

Returns:
Throws:
IOException
GeneralSecurityException

append

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

Parameters:
chars -
Throws:
GeneralSecurityException



Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.