Top Description Methods
com.oracle.bmc.http.signing.internal

public Interface KeySupplier<T>

Known Direct Implementers
com.oracle.bmc.http.signing.internal.PEMFileRSAPrivateKeySupplier, com.oracle.bmc.http.signing.internal.PEMStreamRSAPrivateKeySupplier
Annotations
@InternalSdk
backwardCompatibilityRequired:true
Type Parameters
<T>
the type of the key that will be supplied
Imports
jakarta.annotation.Nonnull, java.util.Optional, com.oracle.bmc.InternalSdk

Interface for anything that can get supply a Key of type T given a keyId

Method Summary

Modifier and TypeMethod and Description
public Optional<T>

Returns:

an Optional for the key, or empty if the key cannot be found.
supplyKey
(final String
the identifier of the key to try to supply
keyId
)

Try to get a key for the given KeyId

Method Detail

supplyKeyback to summary
public Optional<T> supplyKey(final String keyId)

Try to get a key for the given KeyId

Parameters
keyId:String

the identifier of the key to try to supply

Returns:Optional<T>

an Optional for the key, or empty if the key cannot be found.

Annotations
@InternalSdk
backwardCompatibilityRequired:true
@Nonnull