public abstract class SecurityProviderX509 extends SecurityProvider
| Constructor and Description |
|---|
SecurityProviderX509() |
| Modifier and Type | Method and Description |
|---|---|
abstract X509Certificate |
getClientCertificate() |
abstract String |
getClientCertificateCommonName() |
abstract Key |
getClientPrivateKey() |
abstract Collection<X509Certificate> |
getIntermediateCertificatesChain() |
String |
getRegistrationId()
Unique id required for registration
|
SSLContext |
getSSLContext()
Retrieves the SSL context loaded with trusted certs.
|
public abstract String getClientCertificateCommonName()
public abstract X509Certificate getClientCertificate()
public abstract Key getClientPrivateKey()
public abstract Collection<X509Certificate> getIntermediateCertificatesChain()
public String getRegistrationId() throws SecurityProviderException
SecurityProvidergetRegistrationId in class SecurityProviderSecurityProviderException - If registration id with the underlying implementation could not be retrievedpublic SSLContext getSSLContext() throws SecurityProviderException
SecurityProvidergetSSLContext in class SecurityProviderSecurityProviderException - If ssl context could not be generated for any of the reasonCopyright © 2019. All rights reserved.