Top Description Inners Methods
com.oracle.bmc.auth

public Interface X509CertificateSupplier

Known Direct Implementers
com.oracle.bmc.auth.URLBasedX509CertificateSupplier
Imports
java.security.cert.X509Certificate, java.security.interfaces.RSAPrivateKey

An interface to provide X509 certificate for a federated client.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Method Summary

Modifier and TypeMethod and Description
public X509Certificate

Returns:

The certificate, must not be null
getCertificate
()

Gets the certificate

public X509CertificateSupplier.CertificateAndPrivateKeyPair

Returns:

The certificate and private key pair.
getCertificateAndKeyPair
()

Returns the X509 certificate and private key.

public RSAPrivateKey

Returns:

The private key
getPrivateKey
()

Corresponding private key of the certificate.

Method Detail

getCertificateback to summary
public X509Certificate getCertificate()

Gets the certificate

Returns:X509Certificate

The certificate, must not be null

Annotations
@Deprecated
getCertificateAndKeyPairback to summary
public 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.

Returns:X509CertificateSupplier.CertificateAndPrivateKeyPair

The certificate and private key pair.

getPrivateKeyback to summary
public RSAPrivateKey getPrivateKey()

Corresponding 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:RSAPrivateKey

The private key

Annotations
@Deprecated
com.oracle.bmc.auth back to summary

public Class X509CertificateSupplier.CertificateAndPrivateKeyPair

extends Object
Class Inheritance
  • java.lang.Object
  • com.oracle.bmc.auth.X509CertificateSupplier.CertificateAndPrivateKeyPair

Field Summary

Modifier and TypeField and Description
private final X509Certificate
private final RSAPrivateKey

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public X509Certificate
public RSAPrivateKey
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

certificateback to summary
private final X509Certificate certificate
privateKeyback to summary
private final RSAPrivateKey privateKey

Constructor Detail

CertificateAndPrivateKeyPairback to summary
public CertificateAndPrivateKeyPair(X509Certificate certificate, RSAPrivateKey privateKey)
Annotations
@java.beans.ConstructorProperties

Method Detail

getCertificateback to summary
public X509Certificate getCertificate()
getPrivateKeyback to summary
public RSAPrivateKey getPrivateKey()