Uses of Class
co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Packages that use DecryptVerifyResult
Package
Description
-
Uses of DecryptVerifyResult in co.ankatech.ankasecure.sdk
Methods in co.ankatech.ankasecure.sdk that return DecryptVerifyResultModifier and TypeMethodDescriptionAnkaSecureSdk.decryptThenVerify(String jweToken, String decryptKid, String verifyKid) Decrypts JWE token and verifies the inner JWS signature.AnkaSecureSdk.decryptThenVerifyFile(String decryptKid, String verifyKid, Path input, Path output) Decrypts file and verifies signature (compact mode).AnkaSecureSdk.decryptThenVerifyFileStream(String decryptKid, String verifyKid, Path input, Path output) Decrypts file and verifies signature (streaming mode, files ≥ 100MB). -
Uses of DecryptVerifyResult in co.ankatech.ankasecure.sdk.examples
Methods in co.ankatech.ankasecure.sdk.examples with parameters of type DecryptVerifyResultModifier and TypeMethodDescriptionstatic voidExampleUtil.printDecryptVerifyMeta(DecryptVerifyResult r) Logs metadata for a decrypt-then-verify operation showing both decryption and signature verification details. -
Uses of DecryptVerifyResult in co.ankatech.ankasecure.sdk.internal.service.impl
Methods in co.ankatech.ankasecure.sdk.internal.service.impl that return DecryptVerifyResultModifier and TypeMethodDescriptionCombinedOperationsServiceImpl.decryptThenVerify(String jweToken, String decryptKid, String verifyKid) CombinedOperationsServiceImpl.decryptThenVerifyFile(String decryptKid, String verifyKid, Path input, Path output) CombinedOperationsServiceImpl.decryptThenVerifyFileStream(String decryptKid, String verifyKid, Path input, Path output) -
Uses of DecryptVerifyResult in co.ankatech.ankasecure.sdk.model
Methods in co.ankatech.ankasecure.sdk.model that return DecryptVerifyResultModifier and TypeMethodDescriptionDecryptVerifyResult.setActualDecryptKeyUsed(String actualDecryptKeyUsed) Sets the key identifier actually used for decryption.DecryptVerifyResult.setDecryptAlgorithmUsed(String decryptAlgorithmUsed) Sets the algorithm used for decryption.DecryptVerifyResult.setDecryptedData(byte[] decryptedData) Sets the decrypted plaintext bytes.DecryptVerifyResult.setDecryptKeyRequested(String decryptKeyRequested) Sets the key identifier requested for decryption.DecryptVerifyResult.setDecryptWarnings(List<String> decryptWarnings) Sets warnings related to the decryption operation.DecryptVerifyResult.setSignAlgorithmUsed(String signAlgorithmUsed) Sets the algorithm used for signing.DecryptVerifyResult.setSignatureValid(boolean signatureValid) Sets whether signature verification succeeded.DecryptVerifyResult.setSignerInfo(String signerInfo) Sets additional signer information.DecryptVerifyResult.setSigningKey(String signingKey) Sets the key identifier used for signing.DecryptVerifyResult.setVerifyWarnings(List<String> verifyWarnings) Sets warnings related to the signature verification operation.