public interface CleanablePasswordBased extends PasswordBased
Common interface for all entities which can be set a password in char[] shape, which can be cleaned once the encryptor is initialized so that no immutable Strings containing the password are left in memory.
Modifier and Type | Method and Description |
---|---|
void |
setPasswordCharArray(char[] password)
Sets a password to be used by the encryptor, as a (cleanable) char[].
|
setPassword
Copyright © 2017 JBoss by Red Hat. All rights reserved.