Uses of Class
co.ankatech.ankasecure.sdk.exception.CryptoOperationException
Packages that use CryptoOperationException
-
Uses of CryptoOperationException in co.ankatech.ankasecure.sdk.util
Methods in co.ankatech.ankasecure.sdk.util that throw CryptoOperationExceptionModifier and TypeMethodDescriptionstatic byte[]
PqcClientCryptoUtil.decapsulateKem
(PrivateKey privateKey, String kemAlgorithm, byte[] ciphertext) Decapsulates and decrypts a ciphertext using the providedPrivateKey
.static byte[]
PqcClientCryptoUtil.decryptDataRaw
(byte[] aesKeyBytes, byte[] ciphertext) Decrypts data produced byPqcClientCryptoUtil.encryptDataRaw(byte[], byte[])
with the same raw AES key.static byte[]
PqcClientCryptoUtil.encryptDataRaw
(byte[] aesKeyBytes, byte[] plaintext) Encrypts plaintext using AES-GCM with the provided raw AES key bytes.PqcClientCryptoUtil.generateKeyPair
(String algorithm) Generates an asymmetric key pair for a specified algorithm, potentially referencing PQC or classical algorithms.