Index

A B C D E F G H I J K L M N P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AlgorithmInfo - Class in co.ankatech.ankasecure.sdk.model
Immutable value object representing a supported algorithm profile.
AlgorithmInfo() - Constructor for class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
Zero-arg constructor for deserialization frameworks.
AlgorithmInfo.Category - Enum Class in co.ankatech.ankasecure.sdk.model
Category of the algorithm: classical vs. post-quantum.
AlgorithmInfo.Status - Enum Class in co.ankatech.ankasecure.sdk.model
Lifecycle status as defined by the platform.
analyzePkcs7(Pkcs7AnalysisRequest) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Analyzes PKCS#7/CMS file structure and metadata (max 5MB).
analyzePkcs7(Pkcs7AnalysisRequest) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
analyzePkcs7Stream(Pkcs7AnalysisStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Analyzes large PKCS#7/CMS files (>5MB, up to 100MB) using streaming.
analyzePkcs7Stream(Pkcs7AnalysisStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
AnkaSecureSdk - Class in co.ankatech.ankasecure.sdk
AnkaSecureSdk
AnkaSecureSdk(String, Properties) - Constructor for class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Constructs the SDK with a manually provided access token (bypassing authentication).
AnkaSecureSdk(Properties) - Constructor for class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Constructs the SDK using the provided CLI properties.
AnkaSecureSdkException - Exception in co.ankatech.ankasecure.sdk.exception
A uniform, localization-ready exception thrown by all public AnkaSecure SDK APIs.
AnkaSecureSdkException(String, int, String, Throwable, Map<String, String>) - Constructor for exception co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
Constructs a new SDK exception with the specified message, HTTP status, response body, cause, and context.
AnkaSecureSdkException(String, int, String, Throwable, Map<String, String>, SdkErrorCode) - Constructor for exception co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
Constructs a new SDK exception with the specified message, HTTP status, response body, cause, context, and a specific SDK error code.
ApiClientFactory - Class in co.ankatech.ankasecure.sdk.client
Factory for creating configured ApiClient instances.
ApiClientFactory.ClientMode - Enum Class in co.ankatech.ankasecure.sdk.client
 
authenticate(Properties) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Authenticates and initializes an instance of AnkaSecureSdk using the provided properties.
authenticateApplication(String, String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Authenticates an application using client credentials (clientId/clientSecret).
authenticateUser(String, String, String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Authenticates a user by username/password.
authenticateWithToken(Properties) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Creates an AnkaSecureSdk instance using a manually provided JWT token.

B

build() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
build() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
Builds a PatchKeySpec instance.
Builder() - Constructor for class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
Builder() - Constructor for class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
 

C

CIPHER_INPUT_STREAM_BUFFER_SIZE - Static variable in class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil
 
CLASSICAL - Enum constant in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Category
 
cleanup() - Method in class co.ankatech.ankasecure.sdk.examples.JwetMultipartSplitter.Parts
 
co.ankatech.ankasecure.sdk - package co.ankatech.ankasecure.sdk
 
co.ankatech.ankasecure.sdk.client - package co.ankatech.ankasecure.sdk.client
 
co.ankatech.ankasecure.sdk.examples - package co.ankatech.ankasecure.sdk.examples
 
co.ankatech.ankasecure.sdk.exception - package co.ankatech.ankasecure.sdk.exception
 
co.ankatech.ankasecure.sdk.internal - package co.ankatech.ankasecure.sdk.internal
 
co.ankatech.ankasecure.sdk.internal.service.impl - package co.ankatech.ankasecure.sdk.internal.service.impl
 
co.ankatech.ankasecure.sdk.meta - package co.ankatech.ankasecure.sdk.meta
 
co.ankatech.ankasecure.sdk.model - package co.ankatech.ankasecure.sdk.model
 
co.ankatech.ankasecure.sdk.transport - package co.ankatech.ankasecure.sdk.transport
 
co.ankatech.ankasecure.sdk.util - package co.ankatech.ankasecure.sdk.util
 
combinedOperations() - Method in class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
 
CombinedOperationsServiceImpl - Class in co.ankatech.ankasecure.sdk.internal.service.impl
Thread-safe implementation of CombinedOperationsService.
CombinedOperationsServiceImpl(AnkaSecureOpenApiClient) - Constructor for class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
Constructor with dependency injection.
configureForHighThroughput(ApiClient) - Static method in class co.ankatech.ankasecure.sdk.client.ApiClientFactory
Applies high-throughput configuration to an existing ApiClient.
configureForStreaming(ApiClient) - Static method in class co.ankatech.ankasecure.sdk.client.ApiClientFactory
Applies streaming configuration to an existing ApiClient.
convertPkcs7ToJose(Pkcs7ConversionRequest) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Converts PKCS#7/CMS to JOSE format (JWS/JWE) - max 5MB.
convertPkcs7ToJose(Pkcs7ConversionRequest) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
convertPkcs7ToJoseStream(Pkcs7ConversionStreamRequest, File, File) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Converts large PKCS#7/CMS files (>5MB, up to 100MB) to JOSE using streaming.
convertPkcs7ToJoseStream(Pkcs7ConversionStreamRequest, File, File) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
create(String, int, int, int) - Static method in class co.ankatech.ankasecure.sdk.client.StreamingApiClient
Creates a new streaming-optimized API client with custom configuration.
createClient(ApiClientFactory.ClientMode) - Static method in class co.ankatech.ankasecure.sdk.client.ApiClientFactory
Creates an ApiClient based on the specified mode.
createCustomClient(int, int, int, int, int) - Static method in class co.ankatech.ankasecure.sdk.client.ApiClientFactory
Creates a custom configured ApiClient.
createRotation(String, GenerateKeySpec) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Creates a successor key for kid and, optionally, schedules the rotation for a future instant.
createRotation(String, GenerateKeySpec) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
createStandardClient() - Static method in class co.ankatech.ankasecure.sdk.client.ApiClientFactory
Creates a standard ApiClient with default configuration.
createStreamingClient() - Static method in class co.ankatech.ankasecure.sdk.client.ApiClientFactory
Creates a streaming-optimized ApiClient.
crypto() - Method in class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
 
CryptoOperationException - Exception in co.ankatech.ankasecure.sdk.exception
 
CryptoOperationException(String) - Constructor for exception co.ankatech.ankasecure.sdk.exception.CryptoOperationException
 
CryptoOperationException(String, Throwable) - Constructor for exception co.ankatech.ankasecure.sdk.exception.CryptoOperationException
 
CryptoPolicyInfo - Class in co.ankatech.ankasecure.sdk.model
Immutable representation of the Crypto-Policy-Info response header.
CryptoPolicyInfo(String, String, String, int, int, String, String, String, int, int, boolean) - Constructor for class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
Constructs an instance from the JSON-mapped fields.
CryptoPolicyInfo.Builder - Class in co.ankatech.ankasecure.sdk.model
Fluent builder that mirrors the legacy API, preserving existing unit tests and client code.
CryptoPolicyInfoDecoder - Class in co.ankatech.ankasecure.sdk.meta
Decodes the Base64URL-encoded value of the Crypto-Policy-Info response header into a CryptoPolicyInfo.
CryptoRandomProvider - Class in co.ankatech.ankasecure.sdk.util
Centralized provider for cryptographically secure random number generation.
CryptoServiceImpl - Class in co.ankatech.ankasecure.sdk.internal.service.impl
Thread-safe concrete implementation of CryptoService.
CryptoServiceImpl(AnkaSecureOpenApiClient) - Constructor for class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
 
currentKeyAlgorithm() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
currentKeyAlgorithm(String) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
currentKeyExpWarnDays() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
currentKeyExpWarnDays(int) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
currentKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
currentKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
currentKeyUsageWarn() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
currentKeyUsageWarn(int) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
currentKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
currentKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 

D

decapsulateKem(PrivateKey, String, byte[]) - Static method in class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil
Decapsulates and decrypts a ciphertext using the provided PrivateKey.
decode(String) - Static method in class co.ankatech.ankasecure.sdk.meta.CryptoPolicyInfoDecoder
 
decrypt(String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Decrypts an in-memory Compact JWE.
decryptBytes(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
Decrypt a Compact JWE that is already in RAM.
decryptDataRaw(byte[], byte[]) - Static method in class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil
Decrypts data produced by PqcClientCryptoUtil.encryptDataRaw(byte[], byte[]) with the same raw AES key.
decryptFile(Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Decrypts a Compact JWE stored in a file.
decryptFile(Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
 
decryptFileStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Decrypts a ciphertext in streaming mode using a multipart JWET.
decryptFileStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
Decrypts a detached JWET file produced by /stream/encrypt.
DecryptResult - Class in co.ankatech.ankasecure.sdk.model
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.
DecryptResult(byte[], DecryptResultMetadata) - Constructor for class co.ankatech.ankasecure.sdk.model.DecryptResult
 
DecryptResultMetadata - Class in co.ankatech.ankasecure.sdk.model
DecryptResultMetadata
DecryptResultMetadata() - Constructor for class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
decryptThenVerify(String, String, String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Decrypts JWE token and verifies the inner JWS signature.
decryptThenVerify(String, String, String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
 
decryptThenVerifyFile(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Decrypts file and verifies signature (compact mode).
decryptThenVerifyFile(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
 
decryptThenVerifyFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Decrypts file and verifies signature (streaming mode, files ≥ 100MB).
decryptThenVerifyFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
 
DecryptVerifyResult - Class in co.ankatech.ankasecure.sdk.model
Result of a decrypt-then-verify operation.
DecryptVerifyResult() - Constructor for class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Default constructor initializing empty warning lists.

E

enableStreaming() - Method in class co.ankatech.ankasecure.sdk.client.StreamingApiClient
Enables streaming mode with optimized timeouts and configuration.
enableStreaming(int, int, int) - Method in class co.ankatech.ankasecure.sdk.client.StreamingApiClient
Enables streaming mode with custom timeouts.
encrypt(String, byte[]) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Encrypts an in-memory payload with the public key kid.
encryptBytes(String, byte[]) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
Encrypt raw bytes with a server-side **public** key.
encryptDataRaw(byte[], byte[]) - Static method in class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil
Encrypts plaintext using AES-GCM with the provided raw AES key bytes.
encryptFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Encrypts the contents of a file with the public key kid.
encryptFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
 
encryptFileStream(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Encrypts a file in streaming mode using the public key kid.
encryptFileStream(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
 
encryptFileUtilityStream(String, String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Encrypts a local file in streaming mode with an externally supplied public key—no keystore lookup is performed.
encryptFileUtilityStream(String, String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
EncryptResult - Class in co.ankatech.ankasecure.sdk.model
EncryptResult() - Constructor for class co.ankatech.ankasecure.sdk.model.EncryptResult
 
encryptWithExternalPublicKey(String, String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
ensure() - Static method in class co.ankatech.ankasecure.sdk.internal.RuntimeGuard
 
ensureTempDir() - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Ensures that the temporary directory represented by the constant `TEMP_DIR` exists.
ensureTempDir(Path) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Ensures that the specified temporary directory exists.
envelope() - Method in class co.ankatech.ankasecure.sdk.examples.JwetMultipartSplitter.Parts
 
equals(Object) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
equals(Object) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
equals(Object) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
equals(Object) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
equals(Object) - Method in class co.ankatech.ankasecure.sdk.model.PqcHandshakeResult
Constant-time equality check on sessionId only.
equals(Object) - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
 
equals(Object) - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
Indicates whether some other object is "equal to" this one.
ExampleMenu - Class in co.ankatech.ankasecure.sdk.examples
Console entry-point that lets you run any of the sample scenarios packaged with the AnkaSecure SDK.
ExampleScenario1 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 1 – End-to-End ML-KEM-512 Life-cycle (Streaming)
ExampleScenario10 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 10 – ML-KEM-1024 Bulk Helpers (Compact JWE)
ExampleScenario11 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 11 – ML-DSA-87 Bulk Helpers (Compact JWS)
ExampleScenario12 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 12 – RSA-2048 → FALCON-1024 Streaming Re-sign (Detached JWS)
ExampleScenario13 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 13 – Legacy RSA-2048 ➜ ML-KEM-768 Migration (Server-Side Re-encryption)
ExampleScenario14 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 14 – Key Revocation Validation (ML-KEM-768)
ExampleScenario15 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 15 – Streamed Sign / Verify (ML-DSA-87)
ExampleScenario16 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 16 – Utility-Stream Encryption (ML-KEM-1024)
ExampleScenario17 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 17 – Rapid Revocation Lifecycle (Compact JWS)
ExampleScenario18 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 18 – Dynamic Key-Limit Upsize
ExampleScenario19 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 19 – Runtime Discovery of PQC Algorithms
ExampleScenario2 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 2 – RSA-2048 Streaming Sign / Verify
ExampleScenario20 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 20 – In-Memory Post-Quantum Crypto (Compact JWE/JWS)
ExampleScenario21 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 21 – Compact-Token Rotation (RSA-2048 ➜ ML-KEM-1024)
ExampleScenario22 - Class in co.ankatech.ankasecure.sdk.examples
End-to-end, file-oriented demonstration of streaming *detached JWS* verification with an XMSS key.
ExampleScenario23 - Class in co.ankatech.ankasecure.sdk.examples
Immediate key rotation from RSA-2048 to ML-KEM-768 and transparent successor usage during encryption.
ExampleScenario24 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 24: Sign-Then-Encrypt Nested Operations
ExampleScenario25 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 25: External Key Interoperability
ExampleScenario26 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 26: PKCS#7 to JOSE Migration
ExampleScenario27 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 27: Key Lifecycle Management with Revocation
ExampleScenario28 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 28: Export and Share Public Keys for Secure Communication
ExampleScenario3 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 3 – AES-256 Streaming Encrypt / Decrypt
ExampleScenario4 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 4 – Streaming Re-encrypt (RSA-2048 → ML-KEM-1024)
ExampleScenario5 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 5 – ML-KEM-512 Bulk Helpers (Compact JWE)
ExampleScenario6 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 6 – ML-DSA-87 Bulk Helpers (Compact JWS)
ExampleScenario7 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 7 – AES-256 Compact JWE Helpers
ExampleScenario8 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 8 – EC-521 → ML-KEM-768 Bulk Re-encryption (Compact JWE)
ExampleScenario9 - Class in co.ankatech.ankasecure.sdk.examples
Scenario 9 – RSA-2048 → ML-DSA-65 Bulk Re-sign (Compact JWS)
ExampleUtil - Class in co.ankatech.ankasecure.sdk.examples
Utility class providing shared support for all ANKASecure SDK example scenarios.
expiresAt(Instant) - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
Sets the hard expiration date of the key.
ExportedKeySpec - Class in co.ankatech.ankasecure.sdk.model
ExportedKeySpec is a streamlined model representing an exported cryptographic key.
ExportedKeySpec() - Constructor for class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
No-args constructor.
exportKey(String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Exports a key’s specification as a Java object.
exportKey(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
exportKey(String, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Exports a key’s JSON representation to a file.
exportKeyToFile(String, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 

F

FAILED - Enum constant in enum class co.ankatech.ankasecure.sdk.model.RotationJob.Status
 
fatal(String, Throwable) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs a fatal error message to the standard error stream, provides additional context if the error is related to the SDK, and terminates the application with exit code 1.
FileIO - Class in co.ankatech.ankasecure.sdk.util
Centralised UTF-8 file I/O utility for the ANKASecure SDK.
fromStandard(ApiClient) - Static method in class co.ankatech.ankasecure.sdk.client.StreamingApiClient
Creates a new streaming-optimized API client from a standard one.

G

GeneratedKeyPair(PublicKey, PrivateKey, String, String) - Constructor for record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
Creates an instance of a GeneratedKeyPair record class.
generateKey(GenerateKeySpec) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Creates a new cryptographic key in the Anka Secure platform using parameters from GenerateKeySpec.
generateKey(GenerateKeySpec) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
generateKeyPair(String) - Static method in class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil
Generates an asymmetric key pair for a specified algorithm, potentially referencing PQC or classical algorithms.
GenerateKeySpec - Class in co.ankatech.ankasecure.sdk.model
GenerateKeySpec is a streamlined model for clients to request generation of a new cryptographic key, without exposing all fields of internal classes.
GenerateKeySpec() - Constructor for class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
No-args constructor.
get() - Static method in class co.ankatech.ankasecure.sdk.util.CryptoRandomProvider
Returns the singleton SecureRandom instance.
getActualDecryptKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets the key identifier actually used for decryption.
getActualEncryptKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets the key identifier actually used for encryption.
getActualKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
getActualKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult
Returns the effective key identifier used by the server after rotation or successor resolution.
getActualKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.SignResult
Returns the effective key identifier used after any server-side rotation.
getActualKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
 
getActualSignKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets the key identifier actually used for signing.
getAdvisory() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
getAesKey() - Method in class co.ankatech.ankasecure.sdk.model.PqcHandshakeResult
Returns a direct reference to the AES-256 key bytes.
getAesKey() - Method in class co.ankatech.ankasecure.sdk.transport.PqcTransportSession
 
getAlg() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
getAlg() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the algorithm, e.g.
getAlg() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getAlg() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
getAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult
Returns the hybrid algorithm negotiated by the server, combining key-encryption and content-encryption.
getAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.SignResult
Returns the signature algorithm negotiated by the service (e.g.
getAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
 
getAnalysis() - Method in class co.ankatech.ankasecure.sdk.model.MigrationWorkflowResult
Returns the complete PKCS#7 analysis response.
getCategory() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
Returns the algorithm category.
getContext() - Method in exception co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
Returns additional context information provided with this exception.
getCreatedAt() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the UTC time when this key was created.
getCreatedAt() - Method in class co.ankatech.ankasecure.sdk.transport.PqcTransportSession
 
getDecryptAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets the algorithm used for decryption.
getDecryptedData() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResult
Raw decrypted bytes.
getDecryptedData() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets the decrypted plaintext bytes.
getDecryptKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets the key identifier requested for decryption.
getDecryptWarnings() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets warnings related to the decryption operation.
getEncryptAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets the algorithm used for encryption.
getEncryptKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets the key identifier requested for encryption.
getEncryptWarnings() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets warnings related to the encryption operation.
getErrorCode() - Method in exception co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
Returns the specific SDK error code categorizing this failure.
getExpiresAt() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the hard expiration time of the key (UTC).
getExpiresAt() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getExpiresAt() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getExpiresAt() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec
 
getExportable() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Indicates if this key is exportable from the secure store.
getExportable() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getExportable() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getFailureMessages() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
getFinishedAt() - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
getHandshakeEndpoint() - Method in class co.ankatech.ankasecure.sdk.transport.PqcTransportConfig
 
getHash() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the hash or fingerprint used for integrity checks.
getHttpStatus() - Method in exception co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
Returns the HTTP status code returned by the remote service.
getImportedKeys() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
getJobId() - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
getJoseOutput() - Method in class co.ankatech.ankasecure.sdk.model.MigrationWorkflowResult
Returns the output file containing converted JOSE data.
getJweToken() - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult
Returns the raw Compact JWE exactly as emitted by the server.
getJweToken() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns the raw Compact JWE exactly as emitted by the server.
getJweToken() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets the nested JWE(JWS) token.
getJwsToken() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
getJwsToken() - Method in class co.ankatech.ankasecure.sdk.model.SignResult
Returns the raw Compact JWS exactly as issued by the server.
getKeyMetadata(String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Retrieves comprehensive metadata for a specific key by its Key ID (kid).
getKeyMetadata(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
getKeyOps() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
Returns an unmodifiable copy to protect internal state.
getKeyOps() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the permitted key operations.
getKeyOps() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getKeyOps() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
getKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult
Returns the key identifier originally supplied by the client.
getKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.SignResult
Returns the key identifier originally requested by the client.
getKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
 
getKid() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the key identifier (kid).
getKid() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getKid() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getKid() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
getKidMappings() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
getKidStrategy() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
getKty() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
getKty() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the key type (kty).
getKty() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getKty() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getLastUsedAt() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the last time this key was used (UTC).
getMaxUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the maximum usage limit for this key. 0 or null = unlimited.
getMaxUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getMaxUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getMaxUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec
 
getMeta() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResult
Full metadata returned by the service.
getModelVersion() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getNewKeyAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns the hybrid algorithm used for encryption.
getNewKeyAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
getNewKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns the original key identifier requested for encryption.
getNewKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
getNewKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns the effective key identifier used for encryption.
getNewKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
getNewKid() - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
getNextKid() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
If this key was rotated to a new key, the new key's kid.
getOldKeyAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns the hybrid algorithm used for decryption.
getOldKeyAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
getOldKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns the original key identifier requested for decryption.
getOldKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
getOldKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns the effective key identifier used for decryption.
getOldKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
getOldKid() - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
getP12FileBase64() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
getP12Password() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
getPreviousKid() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
If this key was rotated from an older key, the old key's kid.
getPrivateKey() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getProviderInfo() - Static method in class co.ankatech.ankasecure.sdk.util.CryptoRandomProvider
Returns information about the underlying random provider.
getPublicKey() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the public key portion, if applicable.
getPublicKey() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getResponseBody() - Method in exception co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
Returns the full response body returned by the remote service.
getScheduledAt() - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
getSecurityLevel() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
getSession() - Method in class co.ankatech.ankasecure.sdk.transport.PqcSessionManager
Returns an active session, or performs a new handshake if none exists or TTL expired.
getSessionId() - Method in class co.ankatech.ankasecure.sdk.model.PqcHandshakeResult
Returns the opaque session identifier for follow-up calls.
getSessionId() - Method in class co.ankatech.ankasecure.sdk.transport.PqcTransportSession
 
getSessionTtl() - Method in class co.ankatech.ankasecure.sdk.transport.PqcTransportConfig
 
getSignAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets the algorithm used for signing (from JWS header).
getSignAlgorithmUsed() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets the algorithm used for signing.
getSignerInfo() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets additional signer information (if present in JWS claims).
getSigningKey() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets the key identifier used for signing (from JWS header).
getSignKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets the key identifier requested for signing.
getSignWarnings() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Gets warnings related to the signing operation.
getSoftLimitExpiration() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the soft-limit expiration (UTC).
getSoftLimitExpiration() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getSoftLimitExpiration() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getSoftLimitExpiration() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec
 
getSoftUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the soft usage limit for this key.
getSoftUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
 
getSoftUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
getSoftUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec
 
getStandards() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
Returns an unmodifiable copy to protect internal state.
getStartedAt() - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
getStatus() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
getStatus() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the current status of the key (e.g.
getStatus() - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
getSunsetDate() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
getSupportedAlgorithms() - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Retrieves a list of supported algorithms from the server, returning them as a list of AlgorithmInfo (kty+alg).
getSupportedAlgorithms() - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
getTotalImported() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
getUsageCount() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Gets the usage count (how many times this key has been used).
getValidationMode() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
getVerifyWarnings() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Gets warnings related to the signature verification operation.
getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult
Returns any warning messages returned by the service.
getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns any non-fatal warnings issued by the service.
getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.SignResult
Returns any non-fatal warnings issued by the service.
getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
 

H

hasAnyWarnings() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Checks if there are any warnings (decrypt or verify).
hasAnyWarnings() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Checks if there are any warnings (sign or encrypt).
hasDecryptWarnings() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Checks if decryption operation produced warnings.
hasEncryptWarnings() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Checks if encryption operation produced warnings.
hasFailures() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
Checks if there were any import failures.
hashCode() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
hashCode() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
hashCode() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
hashCode() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
hashCode() - Method in class co.ankatech.ankasecure.sdk.model.PqcHandshakeResult
 
hashCode() - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
 
hashCode() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
Returns a hash code value for this object.
hasSignWarnings() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Checks if signing operation produced warnings.
hasVerifyWarnings() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Checks if verification operation produced warnings.
HEADER_KEM - Static variable in class co.ankatech.ankasecure.sdk.transport.PqcTransportInterceptor
Header that tells the server which KEM algorithm to use.
HEADER_SESSION - Static variable in class co.ankatech.ankasecure.sdk.transport.PqcTransportInterceptor
Header that carries the PQC session identifier.
HEADER_TRANSPORT - Static variable in class co.ankatech.ankasecure.sdk.transport.PqcTransportInterceptor
Header that indicates the payload is PQC-encrypted.
HeaderMetaParser - Class in co.ankatech.ankasecure.sdk.meta
Utility class that converts the Crypto-Policy-Info response header emitted by all streaming endpoints into the immutable SDK metadata objects required by client code.
HIGH_THROUGHPUT - Enum constant in enum class co.ankatech.ankasecure.sdk.client.ApiClientFactory.ClientMode
 
HTTP - Enum constant in enum class co.ankatech.ankasecure.sdk.exception.SdkErrorCode
Remote endpoint replied with an HTTP 4xx / 5xx.

I

importKey(ImportKeySpec) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Imports an existing key by providing its fields in a ImportKeySpec.
importKey(ImportKeySpec) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
ImportKeySpec - Class in co.ankatech.ankasecure.sdk.model
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.
ImportKeySpec() - Constructor for class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
importPrivateKeyPkcs12(Pkcs12ImportSpec) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Imports private keys from a Base64-encoded PKCS#12 (.p12) bundle.
importPrivateKeyPkcs12(Pkcs12ImportSpec) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
intercept(Interceptor.Chain) - Method in class co.ankatech.ankasecure.sdk.transport.PqcTransportInterceptor
 
InternalServiceFactory - Class in co.ankatech.ankasecure.sdk.internal
 
InternalServiceFactory(AnkaSecureOpenApiClient) - Constructor for class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
 
invalidateSession() - Method in class co.ankatech.ankasecure.sdk.transport.PqcSessionManager
Invalidates the current session, forcing handshake on next request.
InvalidInputException - Exception in co.ankatech.ankasecure.sdk.exception
 
InvalidInputException(String) - Constructor for exception co.ankatech.ankasecure.sdk.exception.InvalidInputException
 
InvalidInputException(String, Throwable) - Constructor for exception co.ankatech.ankasecure.sdk.exception.InvalidInputException
 
IO - Enum constant in enum class co.ankatech.ankasecure.sdk.exception.SdkErrorCode
Generic I/O problem (host unreachable, TLS failure, etc.).
isCompleteSuccess() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Checks if operation completed successfully with no issues.
isCompleteSuccess() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
Checks if all keys imported successfully (no failures).
isEnabled() - Method in class co.ankatech.ankasecure.sdk.transport.PqcTransportConfig
 
isMigrationMode() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
Returns true if the server used sourceKidOverride.
isPartialSuccess() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
Checks if some keys succeeded and some failed (partial success).
isSignatureValid() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Checks if the signature verification succeeded.
isStreamingMode() - Method in class co.ankatech.ankasecure.sdk.client.StreamingApiClient
Checks if streaming mode is enabled.
isValid() - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
Indicates whether verification succeeded both cryptographically and against server-side policy checks.

J

JwetMultipartSplitter - Class in co.ankatech.ankasecure.sdk.examples
 
JwetMultipartSplitter.Parts - Class in co.ankatech.ankasecure.sdk.examples
 

K

KEY_ENABLED - Static variable in class co.ankatech.ankasecure.sdk.transport.PqcTransportConfig
 
KEY_HANDSHAKE_ENDPOINT - Static variable in class co.ankatech.ankasecure.sdk.transport.PqcTransportConfig
 
KEY_SESSION_TTL - Static variable in class co.ankatech.ankasecure.sdk.transport.PqcTransportConfig
 
KeyManagementServiceImpl - Class in co.ankatech.ankasecure.sdk.internal.service.impl
Thread-safe implementation of KeyManagementService.
KeyManagementServiceImpl(AnkaSecureOpenApiClient) - Constructor for class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
keys() - Method in class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
 

L

LEGACY - Enum constant in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Status
 
listKeys() - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Lists every key currently stored in the Anka Secure keystore and returns a readable summary.
listKeys() - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
loadProperties() - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Loads properties from a configuration file.

M

main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleMenu
 
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario1
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario10
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario11
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario12
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario13
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario14
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario15
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario16
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario17
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario18
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario19
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario2
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario20
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario21
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario22
 
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario23
 
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario24
 
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario25
 
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario26
 
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario27
 
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario28
 
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario3
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario4
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario5
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario6
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario7
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario8
Entry-point.
main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario9
Entry-point.
maxUsageLimit(int) - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
Sets the hard usage limit (absolute cap).
migration() - Method in class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
 
migrationMode() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
migrationMode(boolean) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
MigrationServiceImpl - Class in co.ankatech.ankasecure.sdk.internal.service.impl
 
MigrationServiceImpl(AnkaSecureOpenApiClient) - Constructor for class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
MigrationWorkflowResult - Class in co.ankatech.ankasecure.sdk.model
Immutable response model returned by combined PKCS#7 migration workflows.
MigrationWorkflowResult() - Constructor for class co.ankatech.ankasecure.sdk.model.MigrationWorkflowResult
Default constructor for SDK internal use.
MigrationWorkflowResult(Pkcs7AnalysisResponse, File) - Constructor for class co.ankatech.ankasecure.sdk.model.MigrationWorkflowResult
Constructs a new migration workflow result with the specified analysis and JOSE output.

N

newKeyAlgorithm() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
newKeyAlgorithm(String) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
newKeyExpWarnDays() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
newKeyExpWarnDays(int) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
newKeyRequested() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
newKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
newKeyUsageWarn() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
newKeyUsageWarn(int) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
newKeyUsed() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
newKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
 
nullSafe(String) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Returns a non-null, safe string representation of the provided input.

P

patchKey(String, PatchKeySpec) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Applies a JSON Merge-Patch to update expiry and usage-limit fields.
patchKey(String, Object) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
PatchKeySpec - Class in co.ankatech.ankasecure.sdk.model
Specification for updating mutable key attributes via JSON Merge-Patch.
PatchKeySpec.Builder - Class in co.ankatech.ankasecure.sdk.model
Fluent builder for assembling a PatchKeySpec.
performMigrationWorkflow(File, Pkcs7ConversionStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Performs a complete PKCS#7 to JOSE migration workflow in a single operation.
performMigrationWorkflow(File, Pkcs7ConversionStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
Pkcs12ImportResult - Class in co.ankatech.ankasecure.sdk.model
Result of PKCS#12 import operation containing all imported keys and any failures.
Pkcs12ImportResult() - Constructor for class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
Default constructor.
Pkcs12ImportResult(int, List<ExportedKeySpec>) - Constructor for class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
Constructs result with imported keys.
Pkcs12ImportResult(int, List<ExportedKeySpec>, List<String>) - Constructor for class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
Constructs result with imported keys and failures.
Pkcs12ImportSpec - Class in co.ankatech.ankasecure.sdk.model
DTO used to import private keys (and certificate chains) from a PKCS#12 / .p12 container supplied as a Base64 string.
Pkcs12ImportSpec() - Constructor for class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
POST_QUANTUM - Enum constant in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Category
 
PqcClientCryptoUtil - Class in co.ankatech.ankasecure.sdk.util
PqcClientCryptoUtil
PqcClientCryptoUtil.GeneratedKeyPair - Record Class in co.ankatech.ankasecure.sdk.util
A record containing both raw key objects (public, private) and their Base64-encoded forms.
PqcHandshakeResult - Class in co.ankatech.ankasecure.sdk.model
Immutable value object returned by PQC hybrid handshake endpoints.
PqcHandshakeResult(byte[], String) - Constructor for class co.ankatech.ankasecure.sdk.model.PqcHandshakeResult
 
PqcSessionManager - Class in co.ankatech.ankasecure.sdk.transport
Manages PQC transport sessions: generates PQC key pairs, performs handshake, unwraps AES keys, and caches sessions until TTL expires.
PqcSessionManager(AnkaSecureOpenApiClient, PqcTransportConfig, String) - Constructor for class co.ankatech.ankasecure.sdk.transport.PqcSessionManager
Constructs manager with the given client, config, and KEM algorithm.
PqcTransportConfig - Class in co.ankatech.ankasecure.sdk.transport
Configuration holder for PQC transport encryption settings.
PqcTransportConfig(Properties) - Constructor for class co.ankatech.ankasecure.sdk.transport.PqcTransportConfig
Reads PQC transport settings from provided CLI properties.
PqcTransportInterceptor - Class in co.ankatech.ankasecure.sdk.transport
OkHttp Interceptor that transparently encrypts request bodies and decrypts response bodies when PQC transport encryption is enabled.
PqcTransportInterceptor(PqcTransportConfig, PqcSessionManager) - Constructor for class co.ankatech.ankasecure.sdk.transport.PqcTransportInterceptor
 
PqcTransportSession - Class in co.ankatech.ankasecure.sdk.transport
Internal representation of a PQC transport session: holds sessionId, AES key, and creation timestamp.
printDecryptionMeta(DecryptResultMetadata) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs decryption metadata in a human-readable format.
printDecryptMeta(DecryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs decryption-side metadata in a human-readable format.
printDecryptMeta(DecryptResultMetadata) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs decryption metadata in a human-readable format, including information about the requested key, actual key used, algorithm used, and any warnings.
printDecryptVerifyMeta(DecryptVerifyResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata for a decrypt-then-verify operation showing both decryption and signature verification details.
printEncryptionMeta(EncryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata associated with an encryption operation in a human-readable format.
printEncryptMeta(EncryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata associated with an encryption operation in a human-readable format.
printReencryptMeta(ReencryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata associated with the re-encryption operation in a human-readable format, including information about keys and algorithms used during the process, as well as any warnings.
printResignMeta(ResignResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata associated with the re-signing operation in a human-readable format.
printSignEncryptMeta(SignEncryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata for a sign-then-encrypt operation showing both signing and encryption details.
printSignMeta(SignResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata associated with the signing operation in a human-readable format.
printSignMeta(String, SignResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata associated with the signing operation in a human-readable format, including a descriptive heading for context.
printVerifyMeta(VerifySignatureResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata associated with the verification operation in a human-readable format.
printVerifyMeta(String, VerifySignatureResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Logs metadata associated with the verification operation in a human-readable format, including information about validation, keys used, algorithm, and warnings if any.
printWarnings(List<String>) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Prints a list of warning messages to the console in a formatted manner.
privateKey() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
Returns the value of the privateKey record component.
privateKeyBase64() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
Returns the value of the privateKeyBase64 record component.
protectedB64() - Method in class co.ankatech.ankasecure.sdk.examples.JwetMultipartSplitter.Parts
 
publicKey() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
Returns the value of the publicKey record component.
publicKeyBase64() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
Returns the value of the publicKeyBase64 record component.

Q

QUEUED - Enum constant in enum class co.ankatech.ankasecure.sdk.model.RotationJob.Status
 

R

readBytes(Path) - Static method in class co.ankatech.ankasecure.sdk.util.FileIO
 
readUtf8(Path) - Static method in class co.ankatech.ankasecure.sdk.util.FileIO
Reads the entire file as UTF-8 and trims trailing line breaks exactly like String.trim().
RECOMMENDED - Enum constant in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Status
 
reencrypt(String, String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Re-encrypts an in-memory Compact JWE so it is protected by a different key.
reencryptBytes(String, String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
Re-encrypt a JWE in memory so it becomes protected by newKid.
reencryptFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Re-encrypts a Compact JWE file so it is protected by newKid.
reencryptFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
 
reencryptFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Re-encrypts a detached-ciphertext JWE (JWET General JSON + binary envelope) in streaming mode.
reencryptFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
Server-side re-encryption of a legacy ciphertext (no kid) into a post-quantum ciphertext under newKid.
reencryptFileStream(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Re-encrypts a detached-ciphertext JWE (JWET General JSON + binary envelope) in streaming mode – managed flow.
ReencryptResult - Class in co.ankatech.ankasecure.sdk.model
Immutable response model returned by AnkaSecureSdk.reencrypt(String, String).
ReencryptResult() - Constructor for class co.ankatech.ankasecure.sdk.model.ReencryptResult
 
removeKey(String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Removes a key (by kid) from the keystore.
removeKey(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
requiresKeyImport() - Method in class co.ankatech.ankasecure.sdk.model.MigrationWorkflowResult
Checks if the analyzed PKCS#7 file requires private key imports.
resign(String, String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Generates a fresh Compact JWS for the payload embedded in an existing JWS.
resignBytes(String, String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
Re-sign a Compact JWS switching to newKid.
resignFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Re-signs a file-based Compact JWS.
resignFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
 
resignFileStream(String, Path, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Re-signs a detached-JWS signature in streaming mode.
resignFileStream(Path, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
 
ResignResult - Class in co.ankatech.ankasecure.sdk.model
ResignResult() - Constructor for class co.ankatech.ankasecure.sdk.model.ResignResult
 
revokeKey(String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Revokes a key by kid.
revokeKey(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
 
RotationJob - Class in co.ankatech.ankasecure.sdk.model
Represents a job in the key rotation process, including its state, key identifiers, and timestamps.
RotationJob() - Constructor for class co.ankatech.ankasecure.sdk.model.RotationJob
 
RotationJob.Status - Enum Class in co.ankatech.ankasecure.sdk.model
Enumerates the finite set of job states.
RUNNING - Enum constant in enum class co.ankatech.ankasecure.sdk.model.RotationJob.Status
 
RuntimeGuard - Class in co.ankatech.ankasecure.sdk.internal
 
RuntimeGuard() - Constructor for class co.ankatech.ankasecure.sdk.internal.RuntimeGuard
 

S

SdkErrorCode - Enum Class in co.ankatech.ankasecure.sdk.exception
High-level, protocol-agnostic error categories recognised by the SDK.
setActualDecryptKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets the key identifier actually used for decryption.
setActualEncryptKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets the key identifier actually used for encryption.
setActualKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
setActualSignKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets the key identifier actually used for signing.
setAdvisory(String) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setAlg(String) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setAlg(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the algorithm, e.g.
setAlg(String) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets the algorithm name.
setAlg(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setAlgorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
setCategory(AlgorithmInfo.Category) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setCreatedAt(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the creation time of this key (UTC).
setDecryptAlgorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets the algorithm used for decryption.
setDecryptedData(byte[]) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets the decrypted plaintext bytes.
setDecryptKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets the key identifier requested for decryption.
setDecryptWarnings(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets warnings related to the decryption operation.
setEncryptAlgorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets the algorithm used for encryption.
setEncryptKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets the key identifier requested for encryption.
setEncryptWarnings(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets warnings related to the encryption operation.
setExpiresAt(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the hard expiration time of the key (UTC).
setExpiresAt(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets hard expiration date/time.
setExpiresAt(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setExportable(Boolean) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets whether this key is exportable.
setExportable(Boolean) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets exportability.
setExportable(Boolean) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setFailureMessages(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
setFinishedAt(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
setHash(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the hash or fingerprint used for integrity checks.
setImportedKeys(List<ExportedKeySpec>) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
setJobId(String) - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
setJweToken(String) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets the nested JWE(JWS) token.
setJwsToken(String) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
setKeyOps(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setKeyOps(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the permitted key operations.
setKeyOps(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets permitted key operations.
setKeyOps(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
setKid(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the key identifier (kid).
setKid(String) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets the key identifier.
setKid(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setKid(String) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
setKidMappings(Map<String, String>) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
setKidStrategy(String) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
setKty(String) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setKty(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the key type, e.g.
setKty(String) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets the key type.
setKty(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setLastUsedAt(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the last time this key was used (UTC).
setMaxUsageLimit(Integer) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the maximum usage limit for this key. 0 or null = unlimited.
setMaxUsageLimit(Integer) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets maximum usage limit (0/null = unlimited).
setMaxUsageLimit(Integer) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setModelVersion(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setNewKeyAlgorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
setNewKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
setNewKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
setNewKid(String) - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
setNextKid(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the next key ID if this key was rotated to a newer key.
setOldKeyAlgorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
setOldKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
setOldKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
setOldKid(String) - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
setP12FileBase64(String) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
setP12Password(String) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
setPreviousKid(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the previous key ID if this key was rotated from an older key.
setPrivateKey(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setPublicKey(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the public key portion, if applicable.
setPublicKey(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setScheduledAt(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
setSecurityLevel(Integer) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setSignAlgorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets the algorithm used for signing.
setSignAlgorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets the algorithm used for signing.
setSignatureValid(boolean) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets whether signature verification succeeded.
setSignerInfo(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets additional signer information.
setSigningKey(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets the key identifier used for signing.
setSignKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets the key identifier requested for signing.
setSignWarnings(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Sets warnings related to the signing operation.
setSoftLimitExpiration(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the soft-limit expiration (UTC).
setSoftLimitExpiration(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets soft-limit expiration date/time.
setSoftLimitExpiration(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setSoftUsageLimit(Integer) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the soft usage limit for this key, used to trigger warnings before reaching the max usage limit.
setSoftUsageLimit(Integer) - Method in class co.ankatech.ankasecure.sdk.model.GenerateKeySpec
Sets soft usage limit.
setSoftUsageLimit(Integer) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
 
setStandards(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setStartedAt(ZonedDateTime) - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
setStatus(AlgorithmInfo.Status) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setStatus(RotationJob.Status) - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
 
setStatus(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the current status of this key, e.g.
setSunsetDate(LocalDate) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
setTotalImported(int) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
setUsageCount(Integer) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
Sets the current usage count for this key.
setValidationMode(String) - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportSpec
 
setVerifyWarnings(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Sets warnings related to the signature verification operation.
setWarnings(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
setWarnings(List<String>) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
 
sig() - Method in class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
 
sign(String, byte[]) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Signs an in-memory payload with the private key kid.
SignatureServiceImpl - Class in co.ankatech.ankasecure.sdk.internal.service.impl
Thread-safe implementation of SignatureService.
SignatureServiceImpl(AnkaSecureOpenApiClient) - Constructor for class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
 
signBytes(String, byte[]) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
Sign an in-memory payload with a server-side **private** key.
SignEncryptResult - Class in co.ankatech.ankasecure.sdk.model
Result of a sign-then-encrypt operation.
SignEncryptResult() - Constructor for class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Default constructor initializing empty warning lists.
signFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Generates a Compact JWS by signing the contents of a file.
signFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
 
signFileStream(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Signs a file in streaming mode with the private key kid.
signFileStream(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
 
SignResult - Class in co.ankatech.ankasecure.sdk.model
SignResult() - Constructor for class co.ankatech.ankasecure.sdk.model.SignResult
 
signThenEncrypt(String, String, byte[]) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Signs data with signing key then encrypts the result with encryption key.
signThenEncrypt(String, String, byte[]) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
 
signThenEncryptFile(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Signs file then encrypts (compact mode, files < 100MB).
signThenEncryptFile(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
 
signThenEncryptFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Signs file then encrypts (streaming mode, files ≥ 100MB).
signThenEncryptFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
 
softLimitExpiration(Instant) - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
Sets the soft-limit expiration date.
softUsageLimit(int) - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
Sets the soft usage limit (number of allowed operations before the soft-limit warning).
split(Path) - Static method in class co.ankatech.ankasecure.sdk.examples.JwetMultipartSplitter
 
STANDARD - Enum constant in enum class co.ankatech.ankasecure.sdk.client.ApiClientFactory.ClientMode
 
STREAMING - Enum constant in enum class co.ankatech.ankasecure.sdk.client.ApiClientFactory.ClientMode
 
StreamingApiClient - Class in co.ankatech.ankasecure.sdk.client
Extended ApiClient with streaming optimizations.
StreamingApiClient() - Constructor for class co.ankatech.ankasecure.sdk.client.StreamingApiClient
Creates a new StreamingApiClient with default configuration.
StreamingApiClient(ApiClient) - Constructor for class co.ankatech.ankasecure.sdk.client.StreamingApiClient
Creates a new StreamingApiClient based on an existing ApiClient.
streamsAreEqual(InputStream, InputStream) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Compares two InputStream objects to determine if they have identical content.
SUCCEEDED - Enum constant in enum class co.ankatech.ankasecure.sdk.model.RotationJob.Status
 

T

TEMP_DIR - Static variable in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Working directory for the temporary artifacts produced by examples.
TIMEOUT - Enum constant in enum class co.ankatech.ankasecure.sdk.exception.SdkErrorCode
Network stack detected a connect / read / write timeout.
toDualMeta(Headers) - Static method in class co.ankatech.ankasecure.sdk.meta.HeaderMetaParser
Converts response headers from a dual-key streaming operation (re-encrypt, re-sign) into a DualKeyMeta.
toJson(Object) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
Converts a given object into its JSON string representation.
toMergePatch() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec
Converts non-null fields into a JSON Merge-Patch document.
toSingleMeta(Headers) - Static method in class co.ankatech.ankasecure.sdk.meta.HeaderMetaParser
Converts response headers from a single-key streaming operation (encrypt, decrypt, sign, verify) into a SingleKeyMeta.
toString() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
 
toString() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo
 
toString() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
 
toString() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
Returns string representation for debugging.
toString() - Method in class co.ankatech.ankasecure.sdk.model.MigrationWorkflowResult
Returns a human-readable summary of the migration workflow results.
toString() - Method in class co.ankatech.ankasecure.sdk.model.Pkcs12ImportResult
 
toString() - Method in class co.ankatech.ankasecure.sdk.model.PqcHandshakeResult
 
toString() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
Returns string representation for debugging.
toString() - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
 
toString() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
Returns a string representation of this record class.

U

UNKNOWN - Enum constant in enum class co.ankatech.ankasecure.sdk.exception.SdkErrorCode
Anything that cannot be classified more precisely.

V

valueOf(String) - Static method in enum class co.ankatech.ankasecure.sdk.client.ApiClientFactory.ClientMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class co.ankatech.ankasecure.sdk.exception.SdkErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Category
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Status
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class co.ankatech.ankasecure.sdk.model.RotationJob.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class co.ankatech.ankasecure.sdk.client.ApiClientFactory.ClientMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class co.ankatech.ankasecure.sdk.exception.SdkErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Category
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Status
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class co.ankatech.ankasecure.sdk.model.RotationJob.Status
Returns an array containing the constants of this enum class, in the order they are declared.
verifySignature(String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Verifies an in-memory Compact JWS string.
verifySignature(Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Verifies a Compact JWS stored in a UTF-8 file.
verifySignature(Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
 
verifySignatureBytes(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
Verify a Compact JWS that is fully in memory.
VerifySignatureResult - Class in co.ankatech.ankasecure.sdk.model
VerifySignatureResult
VerifySignatureResult() - Constructor for class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
 
verifySignatureStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Verifies a detached-JWS signature in streaming mode.
verifySignatureStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
verifySignatureUtilityStream(String, String, String, String, Path) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
Verifies a detached signature in streaming mode using an external public key—no keystore lookup is performed.
verifySignatureUtilityStream(String, String, String, String, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 
verifyWithExternalPublicKey(String, String, String, String, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
 

W

writeBytes(Path, byte[]) - Static method in class co.ankatech.ankasecure.sdk.util.FileIO
 
writeUtf8(Path, String) - Static method in class co.ankatech.ankasecure.sdk.util.FileIO
Writes the text to the given path using UTF-8, replacing any existing file (same semantics as StandardOpenOption.TRUNCATE_EXISTING).
A B C D E F G H I J K L M N P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form