クラス
java.security.cert.CertificateExceptionの使用
-
CertificateExceptionを使用しているパッケージ パッケージ 説明 com.sun.jarsigner このパッケージは、jarsigner
ツールで使用される署名メカニズムを定義するために使用されるインタフェースとクラスで構成されています。java.security セキュリティ・フレームワークのクラスとインタフェースを提供します。java.security.cert 証明書、証明書失効リスト(CRL)、証明書パスを解析および管理するためのクラスとインタフェースを提供します。javax.net.ssl セキュア・ソケット・パッケージのクラスを提供します。 -
-
com.sun.jarsignerでのCertificateExceptionの使用
CertificateExceptionをスローするcom.sun.jarsignerのメソッド 修飾子と型 メソッド 説明 abstract byte[]
ContentSigner. generateSignedData(ContentSignerParameters parameters, boolean omitContent, boolean applyTimestamp)
非推奨。PKCS#7署名付きデータ・メッセージを生成します。 -
java.securityでのCertificateExceptionの使用
CertificateExceptionをスローするjava.securityのメソッド 修飾子と型 メソッド 説明 abstract void
KeyStoreSpi. engineLoad(InputStream stream, char[] password)
指定された入力ストリームからキーストアをロードします。void
KeyStoreSpi. engineLoad(KeyStore.LoadStoreParameter param)
指定されたKeyStore.LoadStoreParameter
を使用してキーストアをロードします。abstract void
KeyStoreSpi. engineStore(OutputStream stream, char[] password)
指定された出力ストリームにこのキーストアを格納し、指定されたパスワードでその整合性を保護します。void
KeyStoreSpi. engineStore(KeyStore.LoadStoreParameter param)
指定されたKeyStore.LoadStoreParmeter
を使用してこのキーストアを格納します。static KeyStore
KeyStore. getInstance(File file, char[] password)
適切なキーストア型のロードされたキーストア・オブジェクトを返します。static KeyStore
KeyStore. getInstance(File file, KeyStore.LoadStoreParameter param)
適切なキーストア型のロードされたキーストア・オブジェクトを返します。void
KeyStore. load(InputStream stream, char[] password)
指定された入力ストリームからこのキーストアをロードします。void
KeyStore. load(KeyStore.LoadStoreParameter param)
指定されたLoadStoreParameter
を使用してこのキーストアをロードします。void
KeyStore. store(OutputStream stream, char[] password)
指定された出力ストリームにこのキーストアを格納し、指定されたパスワードでその整合性を保護します。void
KeyStore. store(KeyStore.LoadStoreParameter param)
指定されたLoadStoreParameter
を使用してこのキーストアを格納します。 -
java.security.certでのCertificateExceptionの使用
java.security.certでのCertificateExceptionのサブクラス 修飾子と型 クラス 説明 class
CertificateEncodingException
証明書のエンコード例外です。class
CertificateExpiredException
証明書の期限切れの例外です。class
CertificateNotYetValidException
証明書がまだ有効ではないことを示す例外です。class
CertificateParsingException
証明書構文解析例外です。class
CertificateRevokedException
X.509証明書が取り消されたことを示す例外です。CertificateExceptionをスローするjava.security.certのメソッド 修飾子と型 メソッド 説明 abstract Certificate
CertificateFactorySpi. engineGenerateCertificate(InputStream inStream)
証明書オブジェクトを生成し、入力ストリームinStream
から読み込まれたデータで初期化します。abstract Collection<? extends Certificate>
CertificateFactorySpi. engineGenerateCertificates(InputStream inStream)
指定された入力ストリームinStream
から読み込まれた証明書のコレクション・ビュー(空の場合もある)を返します。CertPath
CertificateFactorySpi. engineGenerateCertPath(InputStream inStream)
CertPath
オブジェクトを生成し、InputStream
であるinStreamから読み込まれたデータで初期化します。CertPath
CertificateFactorySpi. engineGenerateCertPath(InputStream inStream, String encoding)
CertPath
オブジェクトを生成し、InputStream
であるinStreamから読み込まれたデータで初期化します。CertPath
CertificateFactorySpi. engineGenerateCertPath(List<? extends Certificate> certificates)
CertPath
オブジェクトを生成し、Certificate
のList
で初期化します。Certificate
CertificateFactory. generateCertificate(InputStream inStream)
証明書オブジェクトを生成し、入力ストリームinStream
から読み込まれたデータで初期化します。Collection<? extends Certificate>
CertificateFactory. generateCertificates(InputStream inStream)
指定された入力ストリームinStream
から読み込まれた証明書のコレクション・ビュー(空の場合もある)を返します。CertPath
CertificateFactory. generateCertPath(InputStream inStream)
CertPath
オブジェクトを生成し、InputStream
であるinStreamから読み込まれたデータで初期化します。CertPath
CertificateFactory. generateCertPath(InputStream inStream, String encoding)
CertPath
オブジェクトを生成し、InputStream
であるinStreamから読み込まれたデータで初期化します。CertPath
CertificateFactory. generateCertPath(List<? extends Certificate> certificates)
CertPath
オブジェクトを生成し、Certificate
のList
で初期化します。static CertificateFactory
CertificateFactory. getInstance(String type)
指定されたタイプの証明書を実装する証明書ファクトリ・オブジェクトを返します。static CertificateFactory
CertificateFactory. getInstance(String type, String provider)
指定されたタイプの証明書ファクトリ・オブジェクトを返します。static CertificateFactory
CertificateFactory. getInstance(String type, Provider provider)
指定されたタイプの証明書ファクトリ・オブジェクトを返します。abstract void
Certificate. verify(PublicKey key)
指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。abstract void
Certificate. verify(PublicKey key, String sigProvider)
指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。void
Certificate. verify(PublicKey key, Provider sigProvider)
指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。void
X509Certificate. verify(PublicKey key, Provider sigProvider)
指定された公開キーに対応する非公開キーを使って、この証明書が署名されたことを検証します。 -
javax.net.sslでのCertificateExceptionの使用
CertificateExceptionをスローするjavax.net.sslのメソッド 修飾子と型 メソッド 説明 abstract void
X509ExtendedTrustManager. checkClientTrusted(X509Certificate[] chain, String authType, Socket socket)
ピアから部分的または完全な証明書チェーンが提供された場合に、認証タイプとSSLパラメータに基づいて証明書パスを構築して検証します。abstract void
X509ExtendedTrustManager. checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
ピアから部分的または完全な証明書チェーンが提供された場合に、認証タイプとSSLパラメータに基づいて証明書パスを構築して検証します。void
X509TrustManager. checkClientTrusted(X509Certificate[] chain, String authType)
ピアから提出された一部のまたは完全な証明書チェーンを使用して、信頼できるルートへの証明書パスを構築し、認証タイプに基づいてクライアントSSL認証を検証できるかどうか、信頼できるかどうかを返します。abstract void
X509ExtendedTrustManager. checkServerTrusted(X509Certificate[] chain, String authType, Socket socket)
ピアから部分的または完全な証明書チェーンが提供された場合に、認証タイプとSSLパラメータに基づいて証明書パスを構築して検証します。abstract void
X509ExtendedTrustManager. checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
ピアから部分的または完全な証明書チェーンが提供された場合に、認証タイプとSSLパラメータに基づいて証明書パスを構築して検証します。void
X509TrustManager. checkServerTrusted(X509Certificate[] chain, String authType)
ピアから提出された一部のまたは完全な証明書チェーンを使用して、信頼できるルートへの証明書パスを構築し、認証タイプに基づいてサーバーSSL認証を検証できるかどうか、また信頼できるかどうかを返します。
-