Package com.microsoft.graph.core.models
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.
Provides a private key for the certificate with the ID provided when creating the
subscription and the thumbprint.
-
Method Summary
Modifier and TypeMethodDescriptiongetCertificateKey(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 subscribingcertificateThumbprint- certificate thumbprint- Returns:
- Private key used to sign the certificate
-