public final class SecureString extends SecretBase
| Constructor and Description |
|---|
SecureString() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: Value of secure string.
|
SecureString |
withValue(String value)
Set the value property: Value of secure string.
|
public String value()
public SecureString withValue(String value)
value - the value value to set.public void validate()
validate in class SecretBaseIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.