com.oracle.bmc.http.client.pki.Sensitive Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oci-java-sdk-common-httpclient Show documentation
Show all versions of oci-java-sdk-common-httpclient Show documentation
This project contains the HTTP client API of the SDK used for Oracle Cloud Infrastructure
The newest version!
/**
* Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
package com.oracle.bmc.http.client.pki;
/**
* 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
* ...
* }
*
*/
interface Sensitive extends AutoCloseable {
/** Must erase the contents of the passphrase */
@Override
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy