クラス RsaSecretEncryptor
java.lang.ObjectSE
org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- 実装されたすべてのインターフェース:
BytesEncryptor
、RsaKeyHolder
、TextEncryptor
public class RsaSecretEncryptor
extends ObjectSE
implements BytesEncryptor, TextEncryptor, RsaKeyHolder
- 導入:
- 6.3
コンストラクターのサマリー
コンストラクターコンストラクター説明RsaSecretEncryptor
(StringSE pemData) RsaSecretEncryptor
(StringSE encoding, PublicKeySE publicKey, PrivateKeySE privateKey) RsaSecretEncryptor
(StringSE encoding, PublicKeySE publicKey, PrivateKeySE privateKey, RsaAlgorithm algorithm) RsaSecretEncryptor
(StringSE encoding, PublicKeySE publicKey, PrivateKeySE privateKey, RsaAlgorithm algorithm, StringSE salt, boolean gcm) RsaSecretEncryptor
(StringSE pemData, RsaAlgorithm algorithm) RsaSecretEncryptor
(StringSE pemData, RsaAlgorithm algorithm, StringSE salt) RsaSecretEncryptor
(KeyPairSE keyPair) RsaSecretEncryptor
(KeyPairSE keyPair, RsaAlgorithm algorithm) RsaSecretEncryptor
(KeyPairSE keyPair, RsaAlgorithm algorithm, StringSE salt) RsaSecretEncryptor
(KeyPairSE keyPair, RsaAlgorithm algorithm, StringSE salt, boolean gcm) RsaSecretEncryptor
(PublicKeySE publicKey) RsaSecretEncryptor
(PublicKeySE publicKey, RsaAlgorithm algorithm) RsaSecretEncryptor
(PublicKeySE publicKey, RsaAlgorithm algorithm, StringSE salt) RsaSecretEncryptor
(PublicKeySE publicKey, RsaAlgorithm algorithm, StringSE salt, boolean gcm) RsaSecretEncryptor
(RsaAlgorithm algorithm) RsaSecretEncryptor
(RsaAlgorithm algorithm, boolean gcm) RsaSecretEncryptor
(RsaAlgorithm algorithm, StringSE salt) RsaSecretEncryptor
(RsaAlgorithm algorithm, StringSE salt, boolean gcm) メソッドのサマリー
コンストラクターの詳細
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
public RsaSecretEncryptor()RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
public RsaSecretEncryptor(PublicKeySE publicKey, RsaAlgorithm algorithm, StringSE salt, boolean gcm) RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
RsaSecretEncryptor
public RsaSecretEncryptor(StringSE encoding, PublicKeySE publicKey, PrivateKeySE privateKey, RsaAlgorithm algorithm) RsaSecretEncryptor
public RsaSecretEncryptor(StringSE encoding, PublicKeySE publicKey, PrivateKeySE privateKey, RsaAlgorithm algorithm, StringSE salt, boolean gcm)
メソッドの詳細
getPublicKey
- 次で指定:
- インターフェース
RsaKeyHolder
のgetPublicKey
encrypt
インターフェースからコピーされた説明:TextEncryptor
生のテキスト文字列を暗号化します。- 次で指定:
- インターフェース
TextEncryptor
のencrypt
decrypt
インターフェースからコピーされた説明:TextEncryptor
暗号化されたテキスト文字列を復号化します。- 次で指定:
- インターフェース
TextEncryptor
のdecrypt
encrypt
public byte[] encrypt(byte[] byteArray) インターフェースからコピーされた説明:BytesEncryptor
バイト配列を暗号化します。- 次で指定:
- インターフェース
BytesEncryptor
のencrypt
decrypt
public byte[] decrypt(byte[] encryptedByteArray) インターフェースからコピーされた説明:BytesEncryptor
バイト配列を復号化します。- 次で指定:
- インターフェース
BytesEncryptor
のdecrypt
canDecrypt
public boolean canDecrypt()