Uses of Class
co.ankatech.ankasecure.sdk.model.EncryptResult
Packages that use EncryptResult
Package
Description
-
Uses of EncryptResult in co.ankatech.ankasecure.sdk
Methods in co.ankatech.ankasecure.sdk that return EncryptResultModifier and TypeMethodDescriptionEncrypts an in-memory payload with the public keykid
.AnkaSecureSdk.encryptFile
(String kid, Path input, Path output) Encrypts the contents of a file with the public keykid
.AnkaSecureSdk.encryptFileStream
(String kid, Path input, Path output) Encrypts a file in streaming mode using the public keykid
.AnkaSecureSdk.encryptFileUtilityStream
(String kty, String alg, String publicKeyBase64, Path input, Path output) Encrypts a local file in streaming mode with an externally supplied public key—no keystore lookup is performed. -
Uses of EncryptResult in co.ankatech.ankasecure.sdk.examples
Methods in co.ankatech.ankasecure.sdk.examples with parameters of type EncryptResultModifier and TypeMethodDescriptionstatic void
ExampleUtil.printEncryptionMeta
(EncryptResult r) Logs metadata associated with an encryption operation in a human-readable format.static void
ExampleUtil.printEncryptMeta
(EncryptResult m) Logs metadata associated with an encryption operation in a human-readable format. -
Uses of EncryptResult in co.ankatech.ankasecure.sdk.internal.service
Methods in co.ankatech.ankasecure.sdk.internal.service that return EncryptResultModifier and TypeMethodDescriptionCryptoService.encryptBytes
(String kid, byte[] plaintext) Encrypts raw bytes with the public key identified bykid
.CryptoService.encryptFile
(String kid, Path input, Path output) CryptoService.encryptFileStream
(String kid, Path input, Path output) MigrationService.encryptFileUtilityStream
(String kty, String alg, String publicKeyB64, Path input, Path output) MigrationService.encryptWithExternalPublicKey
(String kty, String alg, String publicKeyB64, Path input, Path output) -
Uses of EncryptResult in co.ankatech.ankasecure.sdk.internal.service.impl
Methods in co.ankatech.ankasecure.sdk.internal.service.impl that return EncryptResultModifier and TypeMethodDescriptionCryptoServiceImpl.encryptBytes
(String kid, byte[] plaintext) Encrypt raw bytes with a server-side **public** key.CryptoServiceImpl.encryptFile
(String kid, Path input, Path output) CryptoServiceImpl.encryptFileStream
(String kid, Path input, Path output) MigrationServiceImpl.encryptFileUtilityStream
(String kty, String alg, String pubB64, Path input, Path output) MigrationServiceImpl.encryptWithExternalPublicKey
(String kty, String alg, String pubKeyB64, Path input, Path output)