public interface BasicAuthenticationDetailsProvider extends AbstractAuthenticationDetailsProvider
Base interface used provide required information to sign requests to Oracle Cloud Infrastructure.
Implementations may choose to provide hints about the cacheability of the keyId and privateKey
using AuthCachingPolicy
(optional).
Modifier and Type | Method and Description |
---|---|
String |
getKeyId()
Returns the keyId used to sign requests.
|
String |
getPassPhrase()
Deprecated.
Use getPassphraseCharacters instead
|
char[] |
getPassphraseCharacters()
Returns the optional pass phrase for the (encrypted) private key, as a character array.
|
InputStream |
getPrivateKey()
Returns a new InputStream to the private key.
|
String getKeyId()
Returns the keyId used to sign requests.
InputStream getPrivateKey()
Returns a new InputStream to the private key. This stream should be closed by the caller, implementations should return new streams each time.
@Deprecated String getPassPhrase()
Returns the optional pass phrase for the (encrypted) private key.
char[] getPassphraseCharacters()
Returns the optional pass phrase for the (encrypted) private key, as a character array.
Copyright © 2016–2024. All rights reserved.