Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- actualKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult.Builder
-
Sets the actual key identifier used.
- actualKeyUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.SignResult.Builder
-
Sets the actual key identifier used.
- addWarning(CryptoWarning) - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult.Builder
-
Adds a single warning.
- addWarning(CryptoWarning) - Method in class co.ankatech.ankasecure.sdk.model.SignResult.Builder
-
Adds a single warning.
- AlgorithmCatalogOperations - Class in co.ankatech.ankasecure.sdk.operations
-
Algorithm catalog operations facade.
- AlgorithmCatalogOperations(InternalServiceFactory, AnkaSecureOpenApiClient, Logger) - Constructor for class co.ankatech.ankasecure.sdk.operations.AlgorithmCatalogOperations
- AlgorithmFilter - Class in co.ankatech.ankasecure.sdk.model
-
Filter criteria for querying supported algorithms from the AnkaSecure platform.
- AlgorithmFilter.Builder - Class in co.ankatech.ankasecure.sdk.model
-
Builder for constructing
AlgorithmFilterinstances. - 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 vs. hybrid.
- AlgorithmInfo.Status - Enum Class in co.ankatech.ankasecure.sdk.model
-
Lifecycle status as defined by the platform.
- AlgorithmPair - Class in co.ankatech.ankasecure.sdk.model
-
Immutable pair of classical and post-quantum algorithm identifiers.
- AlgorithmPair(String, String) - Constructor for class co.ankatech.ankasecure.sdk.model.AlgorithmPair
-
Creates a new algorithm pair.
- algorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult.Builder
-
Sets the algorithm used.
- algorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.SignResult.Builder
-
Sets the algorithm used.
- allSkipped() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Checks if all entries were skipped (idempotent operation).
- analyzePkcs7(Pkcs7AnalysisRequest) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Analyzes a PKCS#7 file to extract metadata and certificate information.
- analyzePkcs7(Pkcs7AnalysisRequest) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- analyzePkcs7(Pkcs7AnalysisRequest) - Method in class co.ankatech.ankasecure.sdk.operations.UtilityOperations
-
Analyzes a PKCS#7 structure (compact mode).
- analyzePkcs7Stream(Pkcs7AnalysisStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Analyzes a PKCS#7 file using streaming to avoid loading the entire file into memory.
- analyzePkcs7Stream(Pkcs7AnalysisStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- analyzePkcs7Stream(Pkcs7AnalysisStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.operations.UtilityOperations
-
Analyzes a PKCS#7 structure (streaming mode for large files).
- AnkaSecureSdk - Class in co.ankatech.ankasecure.sdk
-
Factory for creating authenticated SDK instances.
- AnkaSecureSdk(Properties) - Constructor for class co.ankatech.ankasecure.sdk.AnkaSecureSdk
-
Constructs the SDK factory 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
- archiveKey(String) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Archives a key (marks as inactive but preserves for decryption/verification).
- archiveKey(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- archiveKey(String) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Archives a key, making it temporarily unusable while preserving it for future restoration.
- authenticate(Properties) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Authenticates using encrypted credentials stored in
cli.propertiesand returns anAuthenticatedSdk. - authenticateApplication(String, String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
-
Authenticates as an application and returns an authenticated SDK instance.
- AuthenticatedSdk - Class in co.ankatech.ankasecure.sdk
-
Authenticated SDK instance with immutable JWT token.
- authenticateUser(String, String, String) - Method in class co.ankatech.ankasecure.sdk.AnkaSecureSdk
-
Authenticates as a user and returns an authenticated SDK instance.
B
- build() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Builds the AlgorithmFilter instance.
- build() - Method in class co.ankatech.ankasecure.sdk.model.CryptoPolicyInfo.Builder
- build() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResult.Builder
-
Builds an immutable DecryptResult instance.
- build() - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult.Builder
-
Builds an immutable EncryptResult instance.
- build() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
-
Builds a
PatchKeySpecinstance. - build() - Method in class co.ankatech.ankasecure.sdk.model.SignResult.Builder
-
Builds an immutable SignResult instance.
- builder() - Static method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter
-
Creates a new builder for constructing an AlgorithmFilter.
- builder() - Static method in class co.ankatech.ankasecure.sdk.model.DecryptResult
-
Creates a new builder for constructing DecryptResult instances.
- builder() - Static method in class co.ankatech.ankasecure.sdk.model.EncryptResult
-
Creates a new builder for constructing EncryptResult instances.
- builder() - Static method in class co.ankatech.ankasecure.sdk.model.SignResult
-
Creates a new builder for constructing SignResult instances.
- 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
-
Traditional algorithms vulnerable to quantum computers.
- 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.model.warning - package co.ankatech.ankasecure.sdk.model.warning
-
Structured warning types for cryptographic operations.
- co.ankatech.ankasecure.sdk.operations - package co.ankatech.ankasecure.sdk.operations
- 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
- CombinedOperations - Class in co.ankatech.ankasecure.sdk.operations
-
Combined cryptographic operations facade.
- CombinedOperations(InternalServiceFactory, AnkaSecureOpenApiClient, Logger) - Constructor for class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- 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.AuthenticatedSdk
-
Converts a PKCS#7 signature to JOSE (JWS) format.
- convertPkcs7ToJose(Pkcs7ConversionRequest) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- convertPkcs7ToJose(Pkcs7ConversionRequest) - Method in class co.ankatech.ankasecure.sdk.operations.UtilityOperations
-
Converts PKCS#7 signed-data to JOSE JWS format (compact mode).
- convertPkcs7ToJoseStream(Pkcs7ConversionStreamRequest, File, File) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Converts a PKCS#7 signature to JOSE using streaming.
- convertPkcs7ToJoseStream(Pkcs7ConversionStreamRequest, File, File) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- convertPkcs7ToJoseStream(Pkcs7ConversionStreamRequest, File, File) - Method in class co.ankatech.ankasecure.sdk.operations.UtilityOperations
-
Converts PKCS#7 signed-data to JOSE JWS format (streaming mode for large files).
- 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.
- 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.
- CRITICAL - Enum constant in enum class co.ankatech.ankasecure.sdk.model.warning.WarningSeverity
-
Immediate action required to prevent service disruption.
- crypto() - Method in class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
- CryptoOperationException - Exception in co.ankatech.ankasecure.sdk.exception
-
Thrown when a cryptographic operation fails due to local processing errors.
- CryptoOperationException(String) - Constructor for exception co.ankatech.ankasecure.sdk.exception.CryptoOperationException
-
Constructs a new crypto operation exception with the specified message.
- CryptoOperationException(String, Throwable) - Constructor for exception co.ankatech.ankasecure.sdk.exception.CryptoOperationException
-
Constructs a new crypto operation exception with the specified message and cause.
- CryptoPolicyInfo - Class in co.ankatech.ankasecure.sdk.model
-
Immutable representation of the
Crypto-Policy-Inforesponse 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-Inforesponse header into aCryptoPolicyInfo. - 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
- CryptoWarning - Interface in co.ankatech.ankasecure.sdk.model.warning
-
Represents a structured cryptographic operation warning.
- 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
- daysRemaining() - Method in record class co.ankatech.ankasecure.sdk.model.warning.KeyExpirationWarning
-
Returns the value of the
daysRemainingrecord component. - 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.AuthenticatedSdk
-
Decrypts a compact JWE (RFC 7516) token to recover the original plaintext.
- decrypt(String) - Method in class co.ankatech.ankasecure.sdk.operations.EncryptionOperations
-
Decrypts a compact JWE token string.
- 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. - decryptedData(byte[]) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResult.Builder
-
Sets the decrypted data (will be defensively copied).
- decryptFile(Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Decrypts a file.
- decryptFile(Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
- decryptFileCompact(Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Decrypts a file with forced compact format.
- decryptFileCompact(Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.EncryptionOperations
-
Decrypts a file containing a compact JWE token.
- decryptFileStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Decrypts a file with forced streaming format.
- decryptFileStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
-
Decrypts a JWET multipart file via streaming API.
- decryptFileStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.EncryptionOperations
-
Decrypts a file in streaming mode (designed for large files >100 MB).
- DecryptResult - Class in co.ankatech.ankasecure.sdk.model
-
Immutable result returned by decryption operations.
- DecryptResult.Builder - Class in co.ankatech.ankasecure.sdk.model
-
Builder for constructing immutable DecryptResult instances.
- DecryptResultMetadata - Class in co.ankatech.ankasecure.sdk.model
-
DecryptResultMetadata - DecryptResultMetadata() - Constructor for class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
- decryptThenVerify(String) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Decrypts a JWE then verifies the inner JWS signature.
- decryptThenVerify(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
- decryptThenVerify(String) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- decryptThenVerifyFile(Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
- decryptThenVerifyFileCompact(Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Decrypts and verifies a nested JWE(JWS) file with forced compact format.
- decryptThenVerifyFileCompact(Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- DecryptVerifyResult - Class in co.ankatech.ankasecure.sdk.model
-
Result of a decrypt-then-verify combined operation.
- DecryptVerifyResult() - Constructor for class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
-
Default constructor initializing empty warning lists.
- deleteKey(String) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Permanently deletes a key.
- deleteKey(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- deleteKey(String) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Permanently deletes a key and all its metadata.
- DERIVED - Enum constant in enum class co.ankatech.ankasecure.sdk.model.KeyOrigin
-
Key derived from another key using key derivation functions.
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.AuthenticatedSdk
-
Encrypts raw bytes using the key identified by
kid. - encrypt(String, byte[]) - Method in class co.ankatech.ankasecure.sdk.operations.EncryptionOperations
-
Encrypts raw bytes using the key identified by
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.AuthenticatedSdk
-
Encrypts a file.
- encryptFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
- encryptFileCompact(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Encrypts a file with forced compact format.
- encryptFileCompact(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.EncryptionOperations
-
Encrypts a file using the key identified by
kid. - encryptFileStream(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Encrypts a file with forced streaming format.
- encryptFileStream(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.operations.EncryptionOperations
-
Encrypts a file in streaming mode (designed for large files >100 MB).
- encryptFileUtilityStream(String, String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Encrypts a file using a provided public key (without requiring key in ANKASecure).
- encryptFileUtilityStream(String, String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- encryptFileUtilityStream(String, String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- EncryptionOperations - Class in co.ankatech.ankasecure.sdk.operations
-
Encryption and decryption operations facade.
- EncryptionOperations(InternalServiceFactory, AnkaSecureOpenApiClient, Logger) - Constructor for class co.ankatech.ankasecure.sdk.operations.EncryptionOperations
- EncryptResult - Class in co.ankatech.ankasecure.sdk.model
-
Immutable result returned by encryption operations.
- EncryptResult.Builder - Class in co.ankatech.ankasecure.sdk.model
-
Builder for constructing immutable EncryptResult instances.
- 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
ExampleUtil.TEMP_DIRdirectory exists, creating it (and any parent directories) if necessary. - ensureTempDir(Path) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Ensures that the given directory exists, creating it (and any parent directories) if necessary.
- 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.AlgorithmPair
- 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.KeyComponent
- equals(Object) - Method in class co.ankatech.ankasecure.sdk.model.PqcHandshakeResult
-
Constant-time equality check on
sessionIdonly. - equals(Object) - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
- equals(Object) - Method in record class co.ankatech.ankasecure.sdk.model.warning.GenericWarning
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class co.ankatech.ankasecure.sdk.model.warning.KeyExpirationWarning
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class co.ankatech.ankasecure.sdk.model.warning.UsageLimitWarning
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
-
Indicates whether some other object is "equal to" this one.
- ExampleComplete - Class in co.ankatech.ankasecure.sdk.examples
-
Runs all SDK example scenarios in sequence and provides a comprehensive summary.
- 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
-
Scenario 22 — XMSS Streaming Detached JWS Verification.
- ExampleScenario23 - Class in co.ankatech.ankasecure.sdk.examples
-
Scenario 23 — Key Rotation with Capability Reduction (RSA-2048 → ML-KEM-768).
- 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.
- ExampleScenario29 - Class in co.ankatech.ankasecure.sdk.examples
-
Scenario 29 — Generate and Use Composite Hybrid Keys for Quantum-Resistant Security.
- ExampleScenario3 - Class in co.ankatech.ankasecure.sdk.examples
-
Scenario 3 — AES-256 Streaming Encrypt / Decrypt.
- ExampleScenario30 - Class in co.ankatech.ankasecure.sdk.examples
-
Scenario 30 — Regulatory Compliance Templates for Composite Keys.
- ExampleScenario31 - Class in co.ankatech.ankasecure.sdk.examples
-
Scenario 31 — Security Level Matching for Composite Keys.
- ExampleScenario32 - Class in co.ankatech.ankasecure.sdk.examples
-
Scenario 32 — KDF Comparison for Composite KEM Keys.
- ExampleScenario33 - Class in co.ankatech.ankasecure.sdk.examples
-
Scenario 33 — Algorithm Discovery and Selection Patterns.
- ExampleScenario34 - Class in co.ankatech.ankasecure.sdk.examples
-
Scenario 34 — Composite Key Rotation and Migration.
- 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 — P-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
-
Shared utilities for all ANKASecure© SDK example scenarios.
- EXPERIMENTAL - Enum constant in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Status
-
Preview or beta algorithm not ready for production use.
- 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
-
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.AuthenticatedSdk
-
Exports a key to memory.
- exportKey(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- exportKey(String) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Exports a key's metadata and public material, returning the specification object.
- exportKey(String, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Exports a key to a file.
- exportKey(String, Path) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Exports a key's metadata and public material 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 to
stderrand terminates the JVM with exit code 1. - FileIO - Class in co.ankatech.ankasecure.sdk.util
-
Centralised UTF-8 file I/O utility for the ANKASecure SDK.
- fromLevel(int) - Static method in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
Parses a security level from its numeric value.
- fromStandard(ApiClient) - Static method in class co.ankatech.ankasecure.sdk.client.StreamingApiClient
-
Creates a new streaming-optimized API client from a standard one.
G
- GENERATED - Enum constant in enum class co.ankatech.ankasecure.sdk.model.KeyOrigin
-
Key natively created by AnkaSecure platform using generate-key endpoint.
- GeneratedKeyPair(PublicKey, PrivateKey, String, String) - Constructor for record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
-
Creates an instance of a
GeneratedKeyPairrecord class. - generateKey(KeyRequest) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Generates a new cryptographic key.
- generateKey(KeyRequest) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- generateKey(KeyRequest) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Generates a new cryptographic key.
- 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.
- GenericWarning - Record Class in co.ankatech.ankasecure.sdk.model.warning
-
Generic warning for messages that don't match known patterns.
- GenericWarning(String) - Constructor for record class co.ankatech.ankasecure.sdk.model.warning.GenericWarning
-
Creates an instance of a
GenericWarningrecord class. - get() - Static method in class co.ankatech.ankasecure.sdk.util.CryptoRandomProvider
-
Returns the singleton
SecureRandominstance. - 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.AlgorithmFilter
- 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.ImportKeySpec
- getAlg() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the algorithm identifier.
- getAlgorithm() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponent
-
Gets the cryptographic algorithm used by this component.
- getAlgorithm() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Returns the algorithm identifier for this component.
- 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.
- getBitSecurity() - Method in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
Returns the equivalent symmetric key strength in bits.
- getCategory() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter
- getCategory() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
-
Returns the algorithm category.
- getCertificates() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Gets all successfully imported certificates (trusted CAs).
- getClassicalAlgorithm() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmPair
-
Returns the classical algorithm in this pair.
- getClient() - Method in class co.ankatech.ankasecure.sdk.SharedHttpClient
-
Returns the configured OkHttpClient instance.
- getComponents() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Gets the component keys for composite keys.
- getComponents() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- 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.model.KeyMetadata
-
Returns the key creation timestamp.
- 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
-
Returns the raw decrypted bytes.
- getDecryptedData() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
-
Returns 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 structured warnings related to the decryption operation.
- getDescription() - Method in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
Returns a human-readable description of this security level.
- getDetectedFormat() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Gets the detected keystore format.
- 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 structured 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.ImportKeySpec
- getExpiresAt() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the hard expiration timestamp.
- 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.ImportKeySpec
- getExportable() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns whether the key can be exported.
- getFailures() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Gets all failed entries with error details.
- getFamily() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponent
-
Gets the algorithm family classification.
- getFamily() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Returns the algorithm family classification.
- 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.
- 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 new compact JWE token after re-encryption.
- getJweToken() - Method in class co.ankatech.ankasecure.sdk.model.SignEncryptResult
-
Returns 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.
- getKdf() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Gets the Key Derivation Function for composite KEM keys.
- getKdf() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- getKdf() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the key derivation function for composite KEM keys.
- getKeyMetadata(String) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Retrieves metadata for a specific key.
- getKeyMetadata(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- getKeyMetadata(String) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Retrieves complete metadata for a specific key.
- getKeyOps() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter
- 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.ImportKeySpec
- getKeyOps() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the permitted key operations.
- 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
- getKeys() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Gets all successfully imported private keys.
- getKeystoreContent() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- getKid() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Gets the key identifier (kid).
- getKid() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- getKid() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the unique key identifier.
- getKid() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- getKidMappings() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- getKidStrategy() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- getKty() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter
- 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.ImportKeySpec
- getKty() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the key type.
- getLastUsedAt() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Gets the last time this key was used (UTC).
- getLevel() - Method in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
Returns the numeric security level.
- getMaxSecurityLevel() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter
- 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.ImportKeySpec
- getMaxUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the hard usage limit.
- getMaxUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec
- getMeta() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResult
-
Returns the full metadata returned by the service.
- getMinSecurityLevel() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter
- 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.
- getNextKid() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the successor key identifier (rotation chain).
- 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
- getOrigin() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Gets the key origin indicating how the key was created.
- getOrigin() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the key origin.
- getPassword() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- getPqcAlgorithm() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmPair
-
Returns the PQC algorithm in this pair.
- getPreviousKid() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
If this key was rotated from an older key, the old key's kid.
- getPreviousKid() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the predecessor key identifier (rotation chain).
- 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
- getPublicKey() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponent
-
Gets the Base64-encoded public key material.
- getPublicKey() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Returns the Base64-encoded public key.
- getResponseBody() - Method in exception co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
-
Returns the full response body returned by the remote service.
- getRestricted() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Checks if this key has operational restrictions.
- getRestricted() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns whether the key is restricted (legacy format).
- getRole() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponent
-
Gets the component role within the composite key.
- getRole() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Returns the component role identifier.
- 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 structured warnings related to the signing operation.
- getSkipped() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Gets all skipped entries (already existed).
- 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.ImportKeySpec
- getSoftLimitExpiration() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the soft expiration (warning threshold) timestamp.
- 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.ImportKeySpec
- getSoftUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the soft usage limit (warning threshold).
- getSoftUsageLimit() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec
- getStandards() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter
- 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.AlgorithmFilter
- 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.KeyMetadata
-
Returns the current lifecycle status.
- getStatus() - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec
- getStatus() - Method in class co.ankatech.ankasecure.sdk.model.RotationJob
- getSummary() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Gets the import summary with totals and result type.
- getSunsetDate() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
- getSupportedAlgorithms() - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Retrieves the complete list of cryptographic algorithms supported by the server.
- getSupportedAlgorithms() - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- getSupportedAlgorithms() - Method in class co.ankatech.ankasecure.sdk.operations.AlgorithmCatalogOperations
-
Retrieves the complete catalog of cryptographic algorithms supported by the server.
- getSupportedAlgorithms(AlgorithmFilter) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Retrieves cryptographic algorithms matching the specified filter criteria.
- getSupportedAlgorithms(AlgorithmFilter) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- getSupportedAlgorithms(AlgorithmFilter) - Method in class co.ankatech.ankasecure.sdk.operations.AlgorithmCatalogOperations
-
Retrieves supported algorithms matching the specified filter criteria.
- getTokenExpiration() - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Extracts the expiration time from the JWT token.
- getType() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Gets the key structure type.
- getType() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- getUsageCount() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Gets the usage count (how many times this key has been used).
- getUsageCount() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Returns the current usage counter.
- getValidationMode() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- getVerificationPolicy() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Gets the verification policy for composite signature keys.
- getVerificationPolicy() - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- getVerifyWarnings() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
-
Gets structured warnings related to the signature verification operation.
- getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
-
Returns structured warnings encountered during the decryption operation.
- getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult
-
Returns structured warnings encountered during the encryption operation.
- getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
-
Returns non-fatal warnings encountered during the re-encryption operation.
- getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
-
Returns non-fatal warnings encountered during the re-signing operation.
- getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.SignResult
-
Returns structured warnings encountered during the signing operation.
- getWarnings() - Method in class co.ankatech.ankasecure.sdk.model.VerifySignatureResult
-
Returns structured warnings encountered during signature verification.
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.KeystoreImportResult
-
Checks if any entries failed to import.
- hasFilters() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter
-
Checks if any filter criteria are set.
- hashCode() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
- hashCode() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmPair
- 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.KeyComponent
- 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.model.warning.GenericWarning
-
Returns a hash code value for this object.
- hashCode() - Method in record class co.ankatech.ankasecure.sdk.model.warning.KeyExpirationWarning
-
Returns a hash code value for this object.
- hashCode() - Method in record class co.ankatech.ankasecure.sdk.model.warning.UsageLimitWarning
-
Returns a hash code value for this object.
- 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-Inforesponse 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 (client error) or 5xx (server error).
- HYBRID - Enum constant in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Category
-
Composite algorithms combining classical and post-quantum components.
I
- IMPORTED - Enum constant in enum class co.ankatech.ankasecure.sdk.model.KeyOrigin
-
Key imported from external source (PKCS#12, JWK, PEM, etc.).
- importKey(ImportKeySpec) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Imports an existing public key.
- importKey(ImportKeySpec) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- importKey(ImportKeySpec) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Imports an external cryptographic key.
- ImportKeySpec - Class in co.ankatech.ankasecure.sdk.model
-
Specification for importing an existing public key into ANKASecure.
- ImportKeySpec() - Constructor for class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- importKeystore(KeystoreImportSpec) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Imports keys from a keystore file (JKS, PKCS#12).
- importKeystore(KeystoreImportSpec) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- importKeystore(KeystoreImportSpec) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Imports multiple keys from a PKCS#12 keystore file.
- INFO - Enum constant in enum class co.ankatech.ankasecure.sdk.model.warning.WarningSeverity
-
Informational message, no action required.
- 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
-
Thrown when input validation fails for SDK operations.
- InvalidInputException(String) - Constructor for exception co.ankatech.ankasecure.sdk.exception.InvalidInputException
-
Constructs a new invalid input exception with the specified message.
- InvalidInputException(String, Throwable) - Constructor for exception co.ankatech.ankasecure.sdk.exception.InvalidInputException
-
Constructs a new invalid input exception with the specified message and cause.
- invocationsRemaining() - Method in record class co.ankatech.ankasecure.sdk.model.warning.UsageLimitWarning
-
Returns the value of the
invocationsRemainingrecord component. - IO - Enum constant in enum class co.ankatech.ankasecure.sdk.exception.SdkErrorCode
-
Generic I/O problem during HTTP communication.
- isClassical() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponent
-
Checks if this component uses a classical (pre-quantum) algorithm.
- isCompleteSuccess() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
-
Checks if operation completed successfully with no issues.
- isComposite() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Checks if this is a composite (hybrid) key.
- isComposite() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Checks if this is a composite key.
- isCompositeKem() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Checks if this is a composite KEM (Key Encapsulation Mechanism) key.
- isCompositeKem() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Checks if this is a composite KEM key.
- isCompositeSignature() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Checks if this is a composite signature key.
- isCompositeSignature() - Method in class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Checks if this is a composite signature key.
- isEnabled() - Method in class co.ankatech.ankasecure.sdk.transport.PqcTransportConfig
- isFullSuccess() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Checks if all entries imported successfully.
- isGenerated() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Checks if this key was generated natively in ANKASecure.
- isImported() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Checks if this key was imported from an external source.
- isMigrationMode() - Method in class co.ankatech.ankasecure.sdk.model.ReencryptResult
-
Indicates whether the operation ran in migration mode.
- isPartialSuccess() - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Checks if some entries succeeded and some failed or were skipped.
- isPqc() - Method in class co.ankatech.ankasecure.sdk.model.KeyComponent
-
Checks if this component uses a post-quantum algorithm.
- isSignatureValid() - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
-
Checks if the signature verification succeeded.
- isSimple() - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Checks if this is a simple (single-algorithm) key.
- isStreamingMode() - Method in class co.ankatech.ankasecure.sdk.client.StreamingApiClient
-
Checks if streaming mode is enabled.
- isTokenExpired() - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Checks if the access token has expired.
- 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
- jweToken(String) - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult.Builder
-
Sets the JWE token (required).
- jwsToken(String) - Method in class co.ankatech.ankasecure.sdk.model.SignResult.Builder
-
Sets the JWS token (required).
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
- KeyComponent - Class in co.ankatech.ankasecure.sdk.model
-
Represents a component of a composite hybrid key.
- KeyComponent(String, String, String, String) - Constructor for class co.ankatech.ankasecure.sdk.model.KeyComponent
-
Constructs a new KeyComponent with all fields.
- KeyComponentImportSpec - Class in co.ankatech.ankasecure.sdk.model
-
Specification for a single component within a composite (hybrid) key import.
- KeyComponentImportSpec() - Constructor for class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Default constructor.
- KeyExpirationWarning - Record Class in co.ankatech.ankasecure.sdk.model.warning
-
Warning indicating that a cryptographic key is approaching expiration.
- KeyExpirationWarning(int) - Constructor for record class co.ankatech.ankasecure.sdk.model.warning.KeyExpirationWarning
-
Creates an instance of a
KeyExpirationWarningrecord class. - KeyManagementOperations - Class in co.ankatech.ankasecure.sdk.operations
-
Key management operations facade.
- KeyManagementOperations(InternalServiceFactory, AnkaSecureOpenApiClient, Logger) - Constructor for class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
- 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
- KeyMetadata - Class in co.ankatech.ankasecure.sdk.model
-
Metadata for a cryptographic key in the ANKASecure platform.
- KeyMetadata(String, String, String, String, List<String>, Boolean, KeyOrigin, Boolean, String, ZonedDateTime, ZonedDateTime, ZonedDateTime, Integer, Integer, Integer, String, String) - Constructor for class co.ankatech.ankasecure.sdk.model.KeyMetadata
-
Constructor for internal SDK use.
- KeyOrigin - Enum Class in co.ankatech.ankasecure.sdk.model
-
Indicates how a cryptographic key was created or acquired.
- keyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult.Builder
-
Sets the requested key identifier.
- keyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.SignResult.Builder
-
Sets the requested key identifier.
- keys() - Method in class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
- KeystoreImportResult - Class in co.ankatech.ankasecure.sdk.model
-
Result of keystore import operation supporting both PKCS#12 and JKS formats.
- KeystoreImportResult(KeystoreImportResponse) - Constructor for class co.ankatech.ankasecure.sdk.model.KeystoreImportResult
-
Constructs result from API response.
- KeystoreImportSpec - Class in co.ankatech.ankasecure.sdk.model
-
DTO used to import private keys and certificates from keystore files supplied as Base64 strings.
- KeystoreImportSpec() - Constructor for class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
L
- LEGACY - Enum constant in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Status
-
Deprecated algorithm maintained for backward compatibility only.
- LEVEL_1 - Enum constant in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
NIST Security Level 1 - Equivalent to AES-128 (128-bit security).
- LEVEL_3 - Enum constant in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
NIST Security Level 3 - Equivalent to AES-192 (192-bit security).
- LEVEL_5 - Enum constant in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
NIST Security Level 5 - Equivalent to AES-256 (256-bit security).
- listKeys() - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Lists all keys accessible to the authenticated client.
- listKeys() - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- listKeys() - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Lists all keys accessible to the authenticated user or application.
- listKeys(String, Boolean, String, String) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Lists keys matching the specified filters.
- listKeys(String, Boolean, String, String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- listKeys(String, Boolean, String, String) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Lists keys with filtering by type, algorithm, composite mode, or status.
- loadProperties() - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Loads CLI properties using the following look-up order: A
cli.propertiesfile in the current working directory. The file pointed to by thecli.configsystem property. A/cli.propertiesresource on the classpath.
M
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleComplete
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleMenu
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario1
-
Runs the 5-step ML-KEM-512 streaming life-cycle scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario10
-
Runs the ML-KEM-1024 compact JWE encrypt/decrypt scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario11
-
Runs the ML-DSA-87 compact JWS sign/verify scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario12
-
Runs the RSA-2048 to FALCON-1024 streaming re-sign scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario13
-
Runs the ML-KEM-1024 X.509 certificate generation scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario14
-
Runs the key revocation validation scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario15
-
Runs the ML-DSA-87 streaming sign/verify scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario16
-
Runs the utility-stream encryption scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario17
-
Runs the rapid revocation lifecycle scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario18
-
Runs the dynamic key-limit upsize scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario19
-
Runs the runtime PQC algorithm discovery scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario2
-
Runs the RSA-2048 streaming sign/verify scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario20
-
Runs the in-memory post-quantum crypto scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario21
-
Runs the compact-token rotation scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario22
-
Runs the XMSS streaming detached JWS verification scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario23
-
Runs the key rotation with capability reduction scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario24
-
Runs the sign-then-encrypt nested operations scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario25
-
Runs the external key interoperability scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario26
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario27
-
Runs the key lifecycle management with revocation scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario28
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario29
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario3
-
Runs the AES-256 streaming encrypt/decrypt scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario30
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario31
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario32
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario33
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario34
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario4
-
Runs the RSA-2048 to ML-KEM-1024 streaming re-encryption scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario5
-
Runs the ML-KEM-512 compact JWE encrypt/decrypt scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario6
-
Runs the ML-DSA-87 compact JWS sign/verify scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario7
-
Runs the AES-256 compact JWE encrypt/decrypt scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario8
-
Runs the P-521 to ML-KEM-768 compact JWE re-encryption scenario.
- main(String[]) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleScenario9
-
Runs the RSA-2048 to ML-DSA-65 compact JWS re-sign scenario.
- maxUsageLimit(int) - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
-
Sets the hard usage limit (absolute cap).
- meetsMinimum(NistSecurityLevel) - Method in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
Checks if this security level meets or exceeds a minimum required level.
- message() - Method in interface co.ankatech.ankasecure.sdk.model.warning.CryptoWarning
-
Returns a human-readable warning message.
- message() - Method in record class co.ankatech.ankasecure.sdk.model.warning.GenericWarning
- message() - Method in record class co.ankatech.ankasecure.sdk.model.warning.KeyExpirationWarning
- message() - Method in record class co.ankatech.ankasecure.sdk.model.warning.UsageLimitWarning
- meta(DecryptResultMetadata) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResult.Builder
-
Sets the metadata.
- 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
- NistSecurityLevel - Enum Class in co.ankatech.ankasecure.sdk.model
-
NIST security levels for post-quantum cryptographic algorithms.
- NOTICE - Enum constant in enum class co.ankatech.ankasecure.sdk.model.warning.WarningSeverity
-
User should be aware and plan for future action.
- nullSafe(String) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Returns the input string if it is non-
nulland non-blank; otherwise returns the literal"(none)".
P
- patchKey(String, PatchKeySpec) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Updates key metadata (label, status, expiration).
- patchKey(String, PatchKeySpec) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Updates key metadata without changing the cryptographic material.
- 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.AuthenticatedSdk
-
Performs a complete PKCS#7-to-JOSE migration workflow with analysis and conversion.
- performMigrationWorkflow(File, Pkcs7ConversionStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- performMigrationWorkflow(File, Pkcs7ConversionStreamRequest, File) - Method in class co.ankatech.ankasecure.sdk.operations.UtilityOperations
-
Performs a complete PKCS#7-to-JOSE migration workflow with analysis and conversion.
- POST_QUANTUM - Enum constant in enum class co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Category
-
Quantum-resistant algorithms standardized by NIST.
- 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.
- printDecryptMeta(DecryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints decryption metadata extracted from a full
DecryptResult, preceded by a section header. - printDecryptMeta(DecryptResultMetadata) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints decryption operation metadata to
stdout. - printDecryptVerifyMeta(DecryptVerifyResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints metadata for a decrypt-then-verify combined operation, showing both the decryption layer and the verification layer.
- printEncryptMeta(EncryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints encryption operation metadata to
stdout. - printReencryptMeta(ReencryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints re-encryption metadata showing both the old and new key and algorithm details.
- printResignMeta(ResignResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints re-signature metadata showing both the old and new key and algorithm details.
- printSignEncryptMeta(SignEncryptResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints metadata for a sign-then-encrypt combined operation, showing both the signature layer and the encryption layer.
- printSignMeta(SignResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints signature operation metadata to
stdout. - printSignMeta(String, SignResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints signature metadata preceded by a contextual heading.
- printVerifyMeta(VerifySignatureResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints signature verification metadata to
stdout. - printVerifyMeta(String, VerifySignatureResult) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints signature verification metadata preceded by a contextual heading and including the validity flag.
- printWarnings(List<CryptoWarning>) - Static method in class co.ankatech.ankasecure.sdk.examples.ExampleUtil
-
Prints a list of warning messages to
stdout. - privateKey() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
-
Returns the value of the
privateKeyrecord component. - privateKeyBase64() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
-
Returns the value of the
privateKeyBase64record 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
publicKeyrecord component. - publicKeyBase64() - Method in record class co.ankatech.ankasecure.sdk.util.PqcClientCryptoUtil.GeneratedKeyPair
-
Returns the value of the
publicKeyBase64record component.
Q
- QUEUED - Enum constant in enum class co.ankatech.ankasecure.sdk.model.RotationJob.Status
R
- rawMessage() - Method in record class co.ankatech.ankasecure.sdk.model.warning.GenericWarning
-
Returns the value of the
rawMessagerecord component. - 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
-
Production-ready algorithm actively maintained and recommended for new keys.
- recommendedAction() - Method in interface co.ankatech.ankasecure.sdk.model.warning.CryptoWarning
-
Returns the recommended action to address this warning.
- recommendedAction() - Method in record class co.ankatech.ankasecure.sdk.model.warning.GenericWarning
- recommendedAction() - Method in record class co.ankatech.ankasecure.sdk.model.warning.KeyExpirationWarning
- recommendedAction() - Method in record class co.ankatech.ankasecure.sdk.model.warning.UsageLimitWarning
- reencrypt(String, String) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Re-encrypts data with a different key without decrypting to plaintext.
- reencrypt(String, String) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- 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.AuthenticatedSdk
-
Re-encrypts a file.
- reencryptFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
- reencryptFileCompact(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Re-encrypts a file with forced compact format.
- reencryptFileCompact(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- reencryptFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Re-encrypts a file with forced streaming format.
- reencryptFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CryptoServiceImpl
-
Server-side re-encryption of a ciphertext with a new key.
- reencryptFileStream(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- ReencryptResult - Class in co.ankatech.ankasecure.sdk.model
-
Result of a re-encryption operation.
- ReencryptResult() - Constructor for class co.ankatech.ankasecure.sdk.model.ReencryptResult
- 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.AuthenticatedSdk
-
Re-signs data with a different key without verifying the original signature.
- resign(String, String) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- 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.internal.service.impl.SignatureServiceImpl
- resignFileCompact(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Re-signs a compact JWS file with forced compact format.
- resignFileCompact(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- resignFileStream(Path, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Re-signs a detached JWS signature with forced streaming format.
- resignFileStream(Path, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
- resignFileStream(Path, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- ResignResult - Class in co.ankatech.ankasecure.sdk.model
-
Result of a re-signature operation.
- ResignResult() - Constructor for class co.ankatech.ankasecure.sdk.model.ResignResult
- revokeKey(String) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Revokes a key (marks as compromised).
- revokeKey(String) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- revokeKey(String) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Revokes a key, making it immediately unusable for all operations.
- rotateKey(String, KeyRequest, boolean) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Rotates a key (creates successor and archives original).
- rotateKey(String, KeyRequest, boolean) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- rotateKey(String, KeyRequest, boolean) - Method in class co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
-
Rotates an existing key to a new successor.
- 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.ImportKeySpec
- setAlgorithm(String) - Method in class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Sets the algorithm identifier for this component.
- setAlgorithmUsed(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
- setCategory(AlgorithmInfo.Category) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
- setComponents(List<KeyComponent>) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Sets the component keys for composite keys.
- setComponents(List<KeyComponentImportSpec>) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- 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<CryptoWarning>) - 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<CryptoWarning>) - 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.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.ImportKeySpec
- setFamily(String) - Method in class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Sets the algorithm family classification.
- 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.
- 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
- setKdf(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Sets the Key Derivation Function.
- setKdf(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- 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.ImportKeySpec
- setKeyRequested(String) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
- setKeystoreContent(String) - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- 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.ImportKeySpec
- setKid(String) - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- setKidMappings(Map<String, String>) - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- setKidStrategy(String) - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- 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.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.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
- setOrigin(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Sets the key origin.
- setPassword(String) - Method in class co.ankatech.ankasecure.sdk.model.KeystoreImportSpec
- 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.
- 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
- setPublicKey(String) - Method in class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Sets the Base64-encoded public key.
- setRestricted(Boolean) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Sets whether this key has operational restrictions.
- setRole(String) - Method in class co.ankatech.ankasecure.sdk.model.KeyComponentImportSpec
-
Sets the component role identifier.
- 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<CryptoWarning>) - 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.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.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
- setType(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Sets the key structure type.
- setType(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- 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.KeystoreImportSpec
- setVerificationPolicy(String) - Method in class co.ankatech.ankasecure.sdk.model.ExportedKeySpec
-
Sets the verification policy.
- setVerificationPolicy(String) - Method in class co.ankatech.ankasecure.sdk.model.ImportKeySpec
- setVerifyWarnings(List<CryptoWarning>) - Method in class co.ankatech.ankasecure.sdk.model.DecryptVerifyResult
-
Sets warnings related to the signature verification operation.
- setWarnings(List<CryptoWarning>) - Method in class co.ankatech.ankasecure.sdk.model.DecryptResultMetadata
- setWarnings(List<CryptoWarning>) - Method in class co.ankatech.ankasecure.sdk.model.ResignResult
- severity() - Method in interface co.ankatech.ankasecure.sdk.model.warning.CryptoWarning
-
Returns the severity level of this warning.
- severity() - Method in record class co.ankatech.ankasecure.sdk.model.warning.GenericWarning
- severity() - Method in record class co.ankatech.ankasecure.sdk.model.warning.KeyExpirationWarning
- severity() - Method in record class co.ankatech.ankasecure.sdk.model.warning.UsageLimitWarning
- SharedHttpClient - Class in co.ankatech.ankasecure.sdk
-
Centralized HTTP client configuration for the AnkaSecure SDK.
- SharedHttpClient(Properties) - Constructor for class co.ankatech.ankasecure.sdk.SharedHttpClient
-
Constructs a shared HTTP client with configuration loaded from properties.
- sig() - Method in class co.ankatech.ankasecure.sdk.internal.InternalServiceFactory
- sign(String, byte[]) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Signs raw bytes using the key identified by
kid. - sign(String, byte[]) - Method in class co.ankatech.ankasecure.sdk.operations.SignatureOperations
-
Signs raw bytes using the key identified by
kid. - SignatureOperations - Class in co.ankatech.ankasecure.sdk.operations
-
Signature and verification operations facade.
- SignatureOperations(InternalServiceFactory, AnkaSecureOpenApiClient, Logger) - Constructor for class co.ankatech.ankasecure.sdk.operations.SignatureOperations
- 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 combined 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.AuthenticatedSdk
-
Signs a file.
- signFile(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.SignatureServiceImpl
- signFileCompact(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Signs a file with forced compact format.
- signFileCompact(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.SignatureOperations
-
Signs a file using the key identified by
kid. - signFileStream(String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Signs a file with forced streaming format.
- signFileStream(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.operations.SignatureOperations
-
Signs a file in streaming mode (designed for large files >100 MB).
- SignResult - Class in co.ankatech.ankasecure.sdk.model
-
Immutable result returned by signing operations.
- SignResult.Builder - Class in co.ankatech.ankasecure.sdk.model
-
Builder for constructing immutable SignResult instances.
- signThenEncrypt(String, String, byte[]) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Signs then encrypts data in a single operation (nested JWE containing JWS).
- signThenEncrypt(String, String, byte[]) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
- signThenEncrypt(String, String, byte[]) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- signThenEncryptFile(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.CombinedOperationsServiceImpl
- signThenEncryptFileCompact(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Signs then encrypts a file with forced compact format.
- signThenEncryptFileCompact(String, String, Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.CombinedOperations
- 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
- status(String) - Method in class co.ankatech.ankasecure.sdk.model.PatchKeySpec.Builder
-
Sets the key lifecycle status.
- 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 input streams byte-by-byte to determine whether they contain 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 artefacts produced by examples.
- TIMEOUT - Enum constant in enum class co.ankatech.ankasecure.sdk.exception.SdkErrorCode
-
Network stack detected a connect, read, or 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
-
Serialises an object to its JSON string representation using the SDK's internal JSON mapper (ISO-8601 dates, pretty-print).
- 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.AlgorithmFilter
- toString() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmInfo
- toString() - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmPair
- 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.KeyComponent
- toString() - Method in class co.ankatech.ankasecure.sdk.model.MigrationWorkflowResult
-
Returns a human-readable summary of the migration workflow results.
- toString() - Method in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
- 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.model.warning.GenericWarning
-
Returns a string representation of this record class.
- toString() - Method in record class co.ankatech.ankasecure.sdk.model.warning.KeyExpirationWarning
-
Returns a string representation of this record class.
- toString() - Method in record class co.ankatech.ankasecure.sdk.model.warning.UsageLimitWarning
-
Returns a string representation of this record class.
- 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
- UsageLimitWarning - Record Class in co.ankatech.ankasecure.sdk.model.warning
-
Warning indicating that a cryptographic key is approaching its usage limit.
- UsageLimitWarning(int) - Constructor for record class co.ankatech.ankasecure.sdk.model.warning.UsageLimitWarning
-
Creates an instance of a
UsageLimitWarningrecord class. - UtilityOperations - Class in co.ankatech.ankasecure.sdk.operations
-
Utility operations facade for PKCS#7 analysis, conversion, and migration.
- UtilityOperations(InternalServiceFactory, AnkaSecureOpenApiClient, Logger) - Constructor for class co.ankatech.ankasecure.sdk.operations.UtilityOperations
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.KeyOrigin
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class co.ankatech.ankasecure.sdk.model.NistSecurityLevel
-
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.
- valueOf(String) - Static method in enum class co.ankatech.ankasecure.sdk.model.warning.WarningSeverity
-
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.KeyOrigin
-
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.NistSecurityLevel
-
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.
- values() - Static method in enum class co.ankatech.ankasecure.sdk.model.warning.WarningSeverity
-
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.AuthenticatedSdk
-
Verifies a compact JWS (RFC 7515) signature.
- verifySignature(String) - Method in class co.ankatech.ankasecure.sdk.operations.SignatureOperations
-
Verifies a compact JWS signature string.
- 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.
- verifySignatureCompact(Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Verifies a compact JWS signature from a file with forced compact format.
- verifySignatureCompact(Path) - Method in class co.ankatech.ankasecure.sdk.operations.SignatureOperations
-
Verifies a JWS signature from a file.
- 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.AuthenticatedSdk
-
Verifies a detached JWS signature with forced streaming format.
- verifySignatureStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
- verifySignatureStream(Path, Path) - Method in class co.ankatech.ankasecure.sdk.operations.SignatureOperations
-
Verifies a detached signature in streaming mode (designed for large files >100 MB).
- verifySignatureUtilityStream(String, String, String, String, Path) - Method in class co.ankatech.ankasecure.sdk.AuthenticatedSdk
-
Verifies a signature using a provided public key (without requiring key in ANKASecure).
- verifySignatureUtilityStream(String, String, String, String, 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.operations.CombinedOperations
- verifySignatureUtilityStream(String, String, String, String, Path) - Method in class co.ankatech.ankasecure.sdk.operations.SignatureOperations
-
Verifies a signature using an external public key (utility operation).
- verifyWithExternalPublicKey(String, String, String, String, Path) - Method in class co.ankatech.ankasecure.sdk.internal.service.impl.MigrationServiceImpl
W
- WARNING - Enum constant in enum class co.ankatech.ankasecure.sdk.model.warning.WarningSeverity
-
Action should be taken soon to avoid potential issues.
- warnings(List<CryptoWarning>) - Method in class co.ankatech.ankasecure.sdk.model.EncryptResult.Builder
-
Sets the list of warnings.
- warnings(List<CryptoWarning>) - Method in class co.ankatech.ankasecure.sdk.model.SignResult.Builder
-
Sets the list of warnings.
- WarningSeverity - Enum Class in co.ankatech.ankasecure.sdk.model.warning
-
Severity levels for cryptographic warnings.
- withAlg(String...) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by algorithm names (OR logic).
- withCategory(AlgorithmInfo.Category) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by algorithm category.
- withKeyOps(String...) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by required key operations (AND logic).
- withKty(String...) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by key types (OR logic).
- withMaxSecurityLevel(int) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by maximum NIST security level (inclusive).
- withMinSecurityLevel(int) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by minimum NIST security level (inclusive).
- withSecurityLevel(int) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by exact NIST security level.
- withStandards(String...) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by required standards compliance (AND logic).
- withStatus(AlgorithmInfo.Status) - Method in class co.ankatech.ankasecure.sdk.model.AlgorithmFilter.Builder
-
Filter by lifecycle status.
- 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).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form