Package co.ankatech.ankasecure.sdk.model
package co.ankatech.ankasecure.sdk.model
-
ClassDescriptionImmutable value object representing a supported algorithm profile.Category of the algorithm: classical vs. post-quantum.Lifecycle status as defined by the platform.Immutable representation of the
Crypto-Policy-Info
response header.Fluent builder that mirrors the legacy API, preserving existing unit tests and client code.Value object returned by one of the following SDK operations:decrypt(String ciphertext)
Decrypts an in-memory Compact JWE and returns both the plaintext bytes and full server metadata.DecryptResultMetadata
Value object returned by one of the following SDK operations:encrypt(String keyId, byte[] plaintext)
encryptFile(String keyId, Path source, Path target)
encryptFileStream(String keyId, Path source, Path target)
encryptFileUtilityStream(String keyId, String param1, String param2, Path source, Path target)
ExportedKeySpec
is a streamlined model representing an exported cryptographic key.GenerateKeySpec
is a streamlined model for clients to request generation of a new cryptographic key, without exposing all fields of internal classes.ImportKeySpec
is a streamlined DTO used by integrators to import an existing cryptographic key (public, private or both) into Anka Secure without exposing the full OpenAPI class.
It purposefully mirrors just the subset of attributes that callers typically control:kid, kty, alg, publicKey, privateKey, keyOps, exportable, expiry metadata and usage limits
.Specification for updating mutable key attributes via JSON Merge-Patch.Fluent builder for assembling aPatchKeySpec
.DTO used to import a private key (and its certificate chain) packed in a PKCS#12 / .p12 container that is supplied as a Base64 string.Immutable value object returned by PQC hybrid handshake endpoints.Immutable response model returned byAnkaSecureSdk.reencrypt(String, String)
.Immutable response returned by one of the following SDK operations:resign(String keyId, String data)
resignFile(String keyId, Path source, Path target)
resignFileStream(String keyId, Path source, Path signature, Path target)
Represents a job in the key rotation process, including its state, key identifiers, and timestamps.Enumerates the finite set of job states.VerifySignatureResult