クラス 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, @Nullable PrivateKeySE privateKey) RsaSecretEncryptor(StringSE encoding, PublicKeySE publicKey, @Nullable PrivateKeySE privateKey, RsaAlgorithm algorithm) RsaSecretEncryptor(StringSE encoding, PublicKeySE publicKey, @Nullable 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
public RsaSecretEncryptor(StringSE encoding, PublicKeySE publicKey, @Nullable PrivateKeySE privateKey) RsaSecretEncryptor
public RsaSecretEncryptor(StringSE encoding, PublicKeySE publicKey, @Nullable PrivateKeySE privateKey, RsaAlgorithm algorithm) RsaSecretEncryptor
public RsaSecretEncryptor(StringSE encoding, PublicKeySE publicKey, @Nullable PrivateKeySE privateKey, RsaAlgorithm algorithm, StringSE salt, boolean gcm)
メソッドの詳細
getPublicKey
- 次で指定:
- インターフェース
RsaKeyHolderのgetPublicKey
encrypt
decrypt
encrypt
public byte[] encrypt(byte[] byteArray) インターフェースからコピーされた説明:BytesEncryptorバイト配列を暗号化します。- 次で指定:
- インターフェース
BytesEncryptorのencrypt
decrypt
public byte[] decrypt(byte[] encryptedByteArray) インターフェースからコピーされた説明:BytesEncryptorバイト配列を復号化します。- 次で指定:
- インターフェース
BytesEncryptorのdecrypt
canDecrypt
public boolean canDecrypt()