Class DefaultOciCertificatesDownloader
java.lang.Object
io.helidon.integrations.oci.tls.certificates.DefaultOciCertificatesDownloader
- All Implemented Interfaces:
Prioritized,OciCertificatesDownloader
@Singleton
public class DefaultOciCertificatesDownloader
extends Object
implements OciCertificatesDownloader, Prioritized
Implementation of the
OciCertificatesDownloader that will use OCI's Certificates Service to download certs.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.integrations.oci.tls.certificates.spi.OciCertificatesDownloader
OciCertificatesDownloader.Certificates -
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 TypeMethodDescriptionloadCACertificate(String caCertOcid) The implementation will download the CA certificate identified by the given ocid from the OCI Certificates Services.loadCertificates(String certOcid) The implementation will download the certificate chain identified by the given ocid from the OCI Certificates Service.intpriority()Priority of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation).
-
Constructor Details
-
DefaultOciCertificatesDownloader
Deprecated.this is a Java ServiceLoader implementation and the constructor should not be used directlyService loader based constructor.
-
-
Method Details
-
loadCertificates
Description copied from interface:OciCertificatesDownloaderThe implementation will download the certificate chain identified by the given ocid from the OCI Certificates Service.- Specified by:
loadCertificatesin interfaceOciCertificatesDownloader- Parameters:
certOcid- the cert ocid- Returns:
- the downloaded certificate chain
- See Also:
-
loadCACertificate
Description copied from interface:OciCertificatesDownloaderThe implementation will download the CA certificate identified by the given ocid from the OCI Certificates Services.- Specified by:
loadCACertificatein interfaceOciCertificatesDownloader- Parameters:
caCertOcid- the ca cert ocid- Returns:
- the downloaded CA certificate
-
priority
public int priority()Description copied from interface:PrioritizedPriority of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use thejakarta.annotation.Priorityannotation rather then implementing this interface as long as it is supported by the library using thisPrioritized.- Specified by:
priorityin interfacePrioritized- Returns:
- the priority of this service, must be a non-negative number
-