Class DecryptResult

java.lang.Object
co.ankatech.ankasecure.sdk.model.DecryptResult

public final class DecryptResult extends Object
Value object returned by one of the following SDK operations: Decrypts an in-memory Compact JWE and returns both the plaintext bytes and full server metadata.

The helper wrapper keeps backward compatibility: meta mirrors the classic DecryptResultMetadata, while plaintext carries the recovered data.

  • Constructor Details

  • Method Details

    • getDecryptedData

      public byte[] getDecryptedData()
      Raw decrypted bytes.
    • getMeta

      public DecryptResultMetadata getMeta()
      Full metadata returned by the service.