クラス
java.security.SignatureExceptionの使用
-
SignatureExceptionを使用しているパッケージ パッケージ 説明 java.security セキュリティ・フレームワークのクラスとインタフェースを提供します。java.security.cert 証明書、証明書失効リスト(CRL)、証明書パスを解析および管理するためのクラスとインタフェースを提供します。javax.security.cert 公開鍵証明書用のクラスを提供します。 -
-
java.securityでのSignatureExceptionの使用
SignatureExceptionをスローするjava.securityのメソッド 修飾子と型 メソッド 説明 protected abstract byte[]
SignatureSpi. engineSign()
これまでに更新されたすべてのデータのうちの署名データを返します。protected int
SignatureSpi. engineSign(byte[] outbuf, int offset, int len)
署名操作を終了し、結果として得られる署名バイトを、指定されたバッファoutbuf
にoffset
から格納します。protected abstract void
SignatureSpi. engineUpdate(byte b)
署名または検証されるデータを、指定されたバイトで更新します。protected abstract void
SignatureSpi. engineUpdate(byte[] b, int off, int len)
署名または検証するデータを、指定されたバイトの配列を使って、指定されたオフセットから更新します。protected abstract boolean
SignatureSpi. engineVerify(byte[] sigBytes)
渡された署名を検証します。protected boolean
SignatureSpi. engineVerify(byte[] sigBytes, int offset, int length)
指定されたオフセットから開始して、指定されたバイト・データの配列の渡された署名を検証します。byte[]
Signature. sign()
更新されたすべてのデータの署名バイトを返します。int
Signature. sign(byte[] outbuf, int offset, int len)
署名操作を終了し、結果として得られる署名バイトを、指定されたバッファoutbuf
にoffset
から格納します。void
Signature. update(byte b)
指定されたバイトを使用して、署名または検証の対象データを更新します。void
Signature. update(byte[] data)
指定されたバイト配列を使用して、署名または検証の対象データを更新します。void
Signature. update(byte[] data, int off, int len)
署名または検証するデータを、指定されたバイトの配列を使って、指定されたオフセットから更新します。void
Signature. update(ByteBuffer data)
署名または検証するデータを、指定されたByteBufferを使用して更新します。boolean
Signature. verify(byte[] signature)
渡された署名を検証します。boolean
Signature. verify(byte[] signature, int offset, int length)
指定されたオフセットから開始して、指定されたバイト・データの配列の渡された署名を検証します。boolean
SignedObject. verify(PublicKey verificationKey, Signature verificationEngine)
このSignedObject内の署名が、内部に格納されたオブジェクトの有効な署名かどうかを、指定された検証エンジンを使って、指定された検証鍵で検証します。SignatureExceptionをスローするjava.securityのコンストラクタ コンストラクタ 説明 SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
任意のSerializableオブジェクトからSignedObjectを構築します。 -
java.security.certでのSignatureExceptionの使用
SignatureExceptionをスローするjava.security.certのメソッド 修飾子と型 メソッド 説明 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)
指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。abstract void
X509CRL. verify(PublicKey key)
指定された公開鍵に対応する非公開鍵を使って、このCRLが署名されたことを検証します。abstract void
X509CRL. verify(PublicKey key, String sigProvider)
指定された公開鍵に対応する非公開鍵を使って、このCRLが署名されたことを検証します。void
X509CRL. verify(PublicKey key, Provider sigProvider)
指定された公開鍵に対応する非公開鍵を使って、このCRLが署名されたことを検証します。 -
javax.security.certでのSignatureExceptionの使用
SignatureExceptionをスローするjavax.security.certのメソッド 修飾子と型 メソッド 説明 abstract void
Certificate. verify(PublicKey key)
非推奨。指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。abstract void
Certificate. verify(PublicKey key, String sigProvider)
非推奨。指定された公開鍵に対応する非公開鍵を使って、この証明書が署名されたことを検証します。
-