All Known Implementing Classes:
DefaultOciPrivateKeyDownloader

public interface OciPrivateKeyDownloader
The contract used for downloading private keys from OCI.
  • Method Summary

    Modifier and Type
    Method
    Description
    loadKey(String keyOcid, URI vaultCryptoEndpoint)
    The implementation will download the private key identified by the given ocid from the given vault crypto endpoint.
  • Method Details

    • loadKey

      PrivateKey loadKey(String keyOcid, URI vaultCryptoEndpoint)
      The implementation will download the private key identified by the given ocid from the given vault crypto endpoint.
      Parameters:
      keyOcid - the key ocid
      vaultCryptoEndpoint - the vault crypto endpoint identifying where to go to download the key ocid
      Returns:
      the downloaded private key
      Throws:
      IllegalStateException - if there is any errors loading the key