public interface X509CertificateSupplier
An interface to provide X509 certificate for a federated client.
Modifier and Type | Interface and Description |
---|---|
static class |
X509CertificateSupplier.CertificateAndPrivateKeyPair |
Modifier and Type | Method and Description |
---|---|
X509Certificate |
getCertificate()
Deprecated.
use
getCertificateAndKeyPair() instead |
X509CertificateSupplier.CertificateAndPrivateKeyPair |
getCertificateAndKeyPair()
Returns the X509 certificate and private key.
|
RSAPrivateKey |
getPrivateKey()
Deprecated.
use
getCertificateAndKeyPair() instead |
@Deprecated X509Certificate getCertificate()
getCertificateAndKeyPair()
insteadGets the certificate
@Deprecated RSAPrivateKey getPrivateKey()
getCertificateAndKeyPair()
insteadCorresponding private key of the certificate. You must implement this method for leaf certificates (to sign the request made to the auth service to get a security token). For intermediate certificates, you can return null.
X509CertificateSupplier.CertificateAndPrivateKeyPair getCertificateAndKeyPair()
Returns the X509 certificate and private key. The X509 certificate will always be valid. The private key may be null for intermediate certificates. For leaf certificates, the private key will always be valid.
Copyright © 2016–2024. All rights reserved.