Class DefaultOciPrivateKeyDownloader
java.lang.Object
io.helidon.integrations.oci.tls.certificates.DefaultOciPrivateKeyDownloader
- All Implemented Interfaces:
io.helidon.common.Prioritized,OciPrivateKeyDownloader
@Singleton
public class DefaultOciPrivateKeyDownloader
extends Object
implements OciPrivateKeyDownloader, io.helidon.common.Prioritized
Implementation of the
OciPrivateKeyDownloader that will use OCI's KMS to export a key.-
Field Summary
Fields inherited from interface io.helidon.common.Prioritized
DEFAULT_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.this is a Java ServiceLoader implementation and the constructor should not be used directly -
Method Summary
Modifier and TypeMethodDescriptionThe implementation will download the private key identified by the given ocid from the given vault crypto endpoint.intpriority()
-
Constructor Details
-
DefaultOciPrivateKeyDownloader
Deprecated.this is a Java ServiceLoader implementation and the constructor should not be used directlyService loader based constructor.
-
-
Method Details
-
loadKey
Description copied from interface:OciPrivateKeyDownloaderThe implementation will download the private key identified by the given ocid from the given vault crypto endpoint.- Specified by:
loadKeyin interfaceOciPrivateKeyDownloader- Parameters:
keyOcid- the key ocidvaultCryptoEndpoint- the vault crypto endpoint identifying where to go to download the key ocid- Returns:
- the downloaded private key
-
priority
public int priority()- Specified by:
priorityin interfaceio.helidon.common.Prioritized
-