Class CombinedOperations

java.lang.Object
co.ankatech.ankasecure.sdk.operations.CombinedOperations

public final class CombinedOperations extends Object
Combined cryptographic operations facade.

Public facade for combined operations (re-encryption, re-signature, sign-then-encrypt, decrypt-then-verify, and utility operations with external keys). All methods are exposed via AuthenticatedSdk.

Stateful signing keys

The operations that produce a signature — resign* (with the new key) and signThenEncrypt* (with the signing key) — can be refused for a stateful hash-based key (XMSS, XMSS^MT, LMS/HSS) with SdkErrorCode.STATEFUL_KEY_EXHAUSTED (rotate the key; do not retry) or SdkErrorCode.STATEFUL_KEY_BUSY (retry after AnkaSecureSdkException.getRetryAfterSeconds()), decided before any output exists. A streaming re-sign reserves the one-time signature before it reads the request body, so a request then refused for its body still spends one.