Uses of Class
cloud.opencode.base.crypto.envelope.EnvelopeCrypto
Packages that use EnvelopeCrypto
-
Uses of EnvelopeCrypto in cloud.opencode.base.crypto
Methods in cloud.opencode.base.crypto that return EnvelopeCryptoModifier and TypeMethodDescriptionstatic EnvelopeCryptoOpenCrypto.envelope()Envelope encryption (RSA + AES-GCM) 信封加密(RSA + AES-GCM) -
Uses of EnvelopeCrypto in cloud.opencode.base.crypto.envelope
Methods in cloud.opencode.base.crypto.envelope that return EnvelopeCryptoModifier and TypeMethodDescriptionstatic EnvelopeCryptoEnvelopeCrypto.ecdhAesGcm()Create envelope crypto with ECDH key agreement and AES-GCM.static EnvelopeCryptoEnvelopeCrypto.rsaAesGcm()Create envelope crypto with RSA-OAEP and AES-GCM (Recommended) 创建使用 RSA-OAEP 和 AES-GCM 的信封加密(推荐)EnvelopeCrypto.setRecipientPrivateKey(PrivateKey privateKey) Set recipient private key for decryption 设置接收者私钥用于解密EnvelopeCrypto.setRecipientPublicKey(PublicKey publicKey) Set recipient public key for encryption 设置接收者公钥用于加密static EnvelopeCryptoEnvelopeCrypto.x25519ChaCha20()Create envelope crypto with X25519 key agreement and ChaCha20-Poly1305.