public abstract class NAbstractSecureString extends Object implements NSecureString
| Modifier and Type | Field and Description |
|---|---|
protected char[] |
value |
| Constructor and Description |
|---|
NAbstractSecureString(char[] value) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
callWithContent(Function<char[],R> mapper) |
void |
close() |
boolean |
constantTimeEquals(NSecureString other) |
NSecureString |
doWithContent(Consumer<char[]> consumer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopy, destroy, isDestroyed, ofEmpty, ofSecure, ofUnsecurepublic <R> R callWithContent(Function<char[],R> mapper)
callWithContent in interface NSecureStringpublic NSecureString doWithContent(Consumer<char[]> consumer)
doWithContent in interface NSecureStringpublic void close()
close in interface AutoCloseableclose in interface NSecureStringpublic boolean constantTimeEquals(NSecureString other)
constantTimeEquals in interface NSecureStringCopyright © 2026 vpc open source initiative. All rights reserved.