Interface DecryptableContent.CertificateKeyProvider

Enclosing interface:
DecryptableContent
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DecryptableContent.CertificateKeyProvider
Provides a private key for the certificate with the ID provided when creating the subscription and the thumbprint.
  • Method Summary

    Modifier and Type
    Method
    Description
    getCertificateKey(String certificateId, String certificateThumbprint)
    Returns the private key for an X.509 certificate with the given id and thumbprint
  • Method Details

    • getCertificateKey

      @Nonnull Key getCertificateKey(@Nullable String certificateId, @Nullable String certificateThumbprint)
      Returns the private key for an X.509 certificate with the given id and thumbprint
      Parameters:
      certificateId - certificate Id provided when subscribing
      certificateThumbprint - certificate thumbprint
      Returns:
      Private key used to sign the certificate