Package com.oracle.bmc.auth
Interface X509CertificateSupplier
- 
- All Known Implementing Classes:
- URLBasedX509CertificateSupplier
 
 public interface X509CertificateSupplierAn interface to provide X509 certificate for a federated client.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classX509CertificateSupplier.CertificateAndPrivateKeyPair
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description X509CertificategetCertificate()Deprecated.usegetCertificateAndKeyPair()insteadX509CertificateSupplier.CertificateAndPrivateKeyPairgetCertificateAndKeyPair()Returns the X509 certificate and private key.RSAPrivateKeygetPrivateKey()Deprecated.usegetCertificateAndKeyPair()instead
 
- 
- 
- 
Method Detail- 
getCertificate@Deprecated X509Certificate getCertificate() Deprecated.usegetCertificateAndKeyPair()insteadGets the certificate- Returns:
- The certificate, must not be null
 
 - 
getPrivateKey@Deprecated RSAPrivateKey getPrivateKey() Deprecated.usegetCertificateAndKeyPair()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. - Returns:
- The private key
 
 - 
getCertificateAndKeyPairX509CertificateSupplier.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. - Returns:
- The certificate and private key pair.
 
 
- 
 
-