public class ExtDBSSLHandler extends Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
ExtDBSSLHandler.ExtDBSSLHandlerTrustManager |
Modifier and Type | Field and Description |
---|---|
(package private) SSLContext |
ctx |
Constructor and Description |
---|
ExtDBSSLHandler(Collection<String> rootCerts,
Collection<File> crlURLs) |
ExtDBSSLHandler(String[] rootCerts,
File[] crlURLs) |
Modifier and Type | Method and Description |
---|---|
X509CRL |
getCRL(X509Certificate c) |
String |
getIssuerX509DN(X509Certificate x509cert)
証明書IssuerのX.509DNを/C=???/ST=???/L=???...の形式で得る.
|
String |
getIssuerX509DN(X509CRL x509crl)
証明書失効IssuerのX.509DNを/C=???/ST=???/L=???...の形式で得る.
|
SSLSocketFactory |
getSSLSocketFactory() |
String |
getSubjectX509DN(X509Certificate x509cert)
証明書SubjectのX.509DNを/C=???/ST=???/L=???...の形式で得る.
|
String |
getX509DN(X500Principal prin)
X500PrincipalのDNを/C=???/ST=???/L=???...の形式で得る.
|
SSLContext ctx
public ExtDBSSLHandler(String[] rootCerts, File[] crlURLs) throws NoSuchProviderException, NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException, CertificateException, CRLException, IOException
public ExtDBSSLHandler(Collection<String> rootCerts, Collection<File> crlURLs) throws NoSuchProviderException, NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException, CertificateException, CRLException, IOException
public SSLSocketFactory getSSLSocketFactory()
public X509CRL getCRL(X509Certificate c)
public String getX509DN(X500Principal prin)
prin
- Principal.public String getIssuerX509DN(X509Certificate x509cert)
x509cert
- 証明書.public String getSubjectX509DN(X509Certificate x509cert)
x509cert
- 証明書.EDB Working Group at Tue Jun 10 17:08:59 JST 2025