| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final char[] | |
| private final InputStream | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | KeyPairAuthenticationDetailProvider(final String
resource id of the resource resourceId, final InputStream private key stream to sign the sign the request privateKeyStream, final char[] passphrase for the private key passphrase)Constructor of KeyPairAuthenticationDetailProvider |
| public | KeyPairAuthenticationDetailProvider(final String
resource id of the resource resourceId, final InputStream private key stream to sign the sign the request privateKeyStream, final char[] passphrase for the private key passphrase, final String tenancy id of the resource tenancyId)Constructor of KeyPairAuthenticationDetailProvider |
| public | KeyPairAuthenticationDetailProvider(final String
resource id of the resource resourceId, final InputStream private key stream to sign the sign the request privateKeyStream, final char[] passphrase for the private key passphrase, final String tenancy id of the resource tenancyId, final String resource principal version ociResourcePrincipalVersion)Constructor of KeyPairAuthenticationDetailProvider |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The keyId.Implements com. Returns the keyId used to sign requests. |
| public String | Returns: The pass phrase, or null if not applicableImplements com.
Deprecated
Use getPassphraseCharacters instead
Returns the optional pass phrase for the (encrypted) private key. |
| public char[] | Returns: The pass phrase as character array, or null if not applicableImplements com. Returns the optional pass phrase for the (encrypted) private key, as a character array. |
| public InputStream | Returns: A new InputStream.Implements com. Returns a new InputStream to the private key. |
| public String | Returns: the refreshed authentication dataImplements com. Refreshes the authentication data used by the provider |
| ociResourcePrincipalVersion | back to summary |
|---|---|
| private final String ociResourcePrincipalVersion | |
| passphrase | back to summary |
|---|---|
| private final char[] passphrase | |
| privateKeyStream | back to summary |
|---|---|
| private final InputStream privateKeyStream | |
| resourceId | back to summary |
|---|---|
| private final String resourceId | |
| tenancyId | back to summary |
|---|---|
| private final String tenancyId | |
| KeyPairAuthenticationDetailProvider | back to summary |
|---|---|
| public KeyPairAuthenticationDetailProvider(final String resourceId, final InputStream privateKeyStream, final char[] passphrase) Constructor of KeyPairAuthenticationDetailProvider
| |
| KeyPairAuthenticationDetailProvider | back to summary |
|---|---|
| public KeyPairAuthenticationDetailProvider(final String resourceId, final InputStream privateKeyStream, final char[] passphrase, final String tenancyId) Constructor of KeyPairAuthenticationDetailProvider
| |
| KeyPairAuthenticationDetailProvider | back to summary |
|---|---|
| public KeyPairAuthenticationDetailProvider(final String resourceId, final InputStream privateKeyStream, final char[] passphrase, final String tenancyId, final String ociResourcePrincipalVersion) Constructor of KeyPairAuthenticationDetailProvider
| |
| getKeyId | back to summary |
|---|---|
| public String getKeyId() Implements com. Returns the keyId used to sign requests. | |
| getPassPhrase | back to summary |
|---|---|
| public String getPassPhrase() Implements com. Deprecated Use getPassphraseCharacters instead Returns the optional pass phrase for the (encrypted) private key. | |
| getPassphraseCharacters | back to summary |
|---|---|
| public char[] getPassphraseCharacters() Implements com. Returns the optional pass phrase for the (encrypted) private key, as a character array.
| |
| getPrivateKey | back to summary |
|---|---|
| public InputStream getPrivateKey() Implements com. Returns a new InputStream to the private key. This stream should be closed by the caller, implementations should return new streams each time.
| |
| refresh | back to summary |
|---|---|
| public String refresh() Implements com. Refreshes the authentication data used by the provider | |