Top Description Methods
com.oracle.bmc.http.client.pki

pack-priv Interface Sensitive

extends AutoCloseable
Known Direct Subinterfaces
com.oracle.bmc.http.client.pki.Utf8, com.oracle.bmc.http.client.pki.Pem.Passphrase
Known Direct Implementers
com.oracle.bmc.http.client.pki.Pem.Encryption

Denotes a type which holds sensitive data and must be erased once it has been used.

Usage Model

Use the try-with-resources idiom to assure the sensitive data is erased after use:
    try ( Sensitive sensitive = ... ) {
        // use the sensitive data
        ...
    }

Method Summary

Modifier and TypeMethod and Description
public void
close()

Redeclares java.lang.AutoCloseable.close.

Must erase the contents of the passphrase

Method Detail

closeback to summary
public void close()

Redeclares java.lang.AutoCloseable.close.

Must erase the contents of the passphrase

Annotations
@Override