public interface VaultRawSecret extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Destroys the secret in memory by e.g.
|
Optional<ByteBuffer> |
get()
Returns the raw secret bytes.
|
Optional<byte[]> |
getAsArray()
Returns the raw secret bytes in
byte[] form. |
Optional<ByteBuffer> get()
Optional<byte[]> getAsArray()
byte[]
form.void close()
close
in interface AutoCloseable
Copyright © 2021 JBoss by Red Hat. All rights reserved.