gluu
|
公開メンバ関数 | |
X509Certificate | getPEMCertificate (String fileName) |
X509Certificate | getPEMCertificate (byte[] cert) |
X509Certificate | getPEMCertificate (InputStream certStream) |
静的公開メンバ関数 | |
static X509Certificate | getPEMCertificateStatic (InputStream certStream) throws Exception |
static X509Certificate [] | loadCertificates (InputStream is) throws Exception |
static X509Certificate [] | loadCertificates (byte[] certsBytes) throws Exception |
static X509CRL | loadCRL (InputStream is) throws Exception |
static X509Certificate [] | convertCertificates (Certificate[] certsIn) throws Exception |
static X509Certificate | convertCertificate (Certificate cert) throws Exception |
static CertificateFactory | getCertificateFactoryInstance () throws CertificateException, NoSuchProviderException |
静的非公開メンバ関数 | |
static X509Certificate [] | loadCertificatesAsPkiPathEncoded (InputStream is) throws Exception |
static byte [] | fixCommonInputCertProblems (byte[] certs) throws IOException |
static byte [] | attemptBase64Decode (String toTest) |
非公開変数類 | |
Logger | log |
静的非公開変数類 | |
static final long | serialVersionUID = -874807269234589084L |
static final String | SECURITY_PROVIDER_BOUNCY_CASTLE = "BC" |
static final String | X509_CERT_TYPE = "X.509" |
static final String | PKI_PATH_ENCODING = "PkiPath" |
static final String | BEGIN_CERTIFICATE = "-----BEGIN CERTIFICATE-----" |
static final String | END_CERTIFICATE = "-----END CERTIFICATE-----" |
static final String | BASE64_TESTER = "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$" |
Provides common ssl certificates management
|
inlinestaticprivate |
|
inlinestatic |
Convert the supplied certificate object into an X509Certificate object.
cert | The Certificate object |
Exception | A problem occurred during the conversion |
|
inlinestatic |
Convert the supplied array of certificate objects into X509Certificate objects.
certsIn | The Certificate objects |
Exception | A problem occurred during the conversion |
|
inlinestaticprivate |
|
inlinestatic |
Get BOUNCY CASTLE CertificateFactory instance.
CertificateException | |
NoSuchProviderException |
|
inline |
Extracts X509 certificate from pem-encoded file.
fileName |
|
inline |
Extracts X509 certificate from pem-encoded stream.
certStream |
|
inline |
Extracts X509 certificate from pem-encoded stream.
certStream |
|
inlinestatic |
Extracts X509 certificate from pem-encoded stream.
certStream |
|
inlinestatic |
Load one or more certificates from the specified stream.
is | Stream to load certificates from |
|
inlinestatic |
Load one or more certificates from the specified byte array.
certsBytes | Byte array to load certificates from |
|
inlinestaticprivate |
|
inlinestatic |
Load a CRL from the specified stream.
is | Stream to load CRL from |
Exception | Problem encountered while loading the CRL |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |
Bouncy Castle SecurityProvider
|
staticprivate |
|
staticprivate |