クラス 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()