Uses of Class
co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
Packages that use AnkaSecureSdkException
Package
Description
-
Uses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk
Methods in co.ankatech.ankasecure.sdk that throw AnkaSecureSdkExceptionModifier and TypeMethodDescriptionco.ankatech.secure.client.model.Pkcs7AnalysisResponseAuthenticatedSdk.analyzePkcs7(co.ankatech.secure.client.model.Pkcs7AnalysisRequest request) Analyzes a PKCS#7 file to extract metadata and certificate information.co.ankatech.secure.client.model.Pkcs7AnalysisResponseAuthenticatedSdk.analyzePkcs7Stream(File file) Analyzes a PKCS#7 file using streaming to avoid loading the entire file into memory.AnkaSecureSdk.authenticate()Authenticates using whatever credential the deployment configured, without being told which.AnkaSecureSdk.authenticate(AuthSettings settings) Authenticates using a caller-supplied configuration view.AnkaSecureSdk.authenticateApplication(String clientId, SecretChars clientSecret) Authenticates as an application and returns an authenticated SDK instance.AnkaSecureSdk.authenticateApplicationWithKeyPair(String clientId, ClientAssertionSigner signer, String expectedAudience) Authenticates a Cryptographic ACTOR that proves itself with a registered key pair.AnkaSecureSdk.configuredCredential()Reports which credentialAnkaSecureSdk.authenticate()would use, without using it.co.ankatech.secure.client.model.Pkcs7ConversionResponseAuthenticatedSdk.convertPkcs7ToJose(co.ankatech.secure.client.model.Pkcs7ConversionRequest request) Converts a PKCS#7 signature to JOSE (JWS) format.AuthenticatedSdk.convertPkcs7ToJoseStream(co.ankatech.secure.client.model.Pkcs7ConversionStreamRequest metadata, File inputFile, File outputFile) Converts a PKCS#7 signature to JOSE using streaming.Decrypts a JWE (RFC 7516) token to recover the original plaintext.Decrypts a JWE token string with the recipient the caller names.AuthenticatedSdk.decryptFile(String recipientKid, Path input, Path output) Decrypts a file of any format with the recipient the caller names, selecting the path from the input's actual format exactly asAuthenticatedSdk.decryptFile(Path, Path)does.AuthenticatedSdk.decryptFile(Path input, Path output) Decrypts a file.AuthenticatedSdk.decryptFileCompact(String recipientKid, Path input, Path output) Decrypts a Compact or General JSON JWE file with the recipient the caller names.AuthenticatedSdk.decryptFileCompact(Path input, Path output) Decrypts a file with forced compact format.AuthenticatedSdk.decryptFileStream(String recipientKid, Path input, Path output) Decrypts a streaming JWET file with the recipient the caller names; sent as therecipientKidquery parameter of/crypto/stream/decrypt.AuthenticatedSdk.decryptFileStream(Path input, Path output) Decrypts a file with forced streaming format.AuthenticatedSdk.decryptThenVerify(String jweToken) Decrypts a JWE then verifies the inner JWS signature.AuthenticatedSdk.decryptThenVerify(String recipientKid, String jweToken) Decrypts a nested JWE(JWS) token with the recipient the caller names, then verifies every signature of the inner JWS.AuthenticatedSdk.decryptThenVerifyFileCompact(String recipientKid, Path input, Path output) Decrypts a nested JWE(JWS) file with the recipient the caller names, then verifies every signature of the inner JWS.AuthenticatedSdk.decryptThenVerifyFileCompact(Path input, Path output) Decrypts and verifies a nested JWE(JWS) file with forced compact format.AuthenticatedSdk.decryptThenVerifyFileStream(String recipientKid, Path input, Path output) Decrypts a nested JWE(JWS) streaming artifact with the recipient the caller names, then verifies every signature of the inner JWS;recipientKidis sent as the query parameter of/crypto/stream/decrypt-verify.AuthenticatedSdk.decryptThenVerifyFileStream(Path input, Path output) Decrypts a nested JWE(JWS) file then verifies the inner signature in streaming mode — the large-file counterpart ofAuthenticatedSdk.decryptThenVerifyFileCompact(Path, Path), and the inverse ofAuthenticatedSdk.signThenEncryptFileStream(String, String, Path, Path).Encrypts raw bytes using the key identified bykid.AuthenticatedSdk.encryptFile(String kid, Path input, Path output) Encrypts a file.AuthenticatedSdk.encryptFileCompact(String kid, Path input, Path output) Encrypts a file with forced compact format, i.e. in one non-streaming request.AuthenticatedSdk.encryptFileStream(String kid, Path input, Path output) Encrypts a file with forced streaming format.AuthenticatedSdk.encryptFileUtilityStream(String kty, String alg, String publicKeyB64, Path input, Path output) Encrypts a file using a provided public key (without requiring key in ANKASecure).AuthenticatedSdk.getKeyMetadata(String kid) Retrieves metadata for a specific key.AuthenticatedSdk.getSupportedAlgorithms()Retrieves the complete list of cryptographic algorithms supported by the server.AuthenticatedSdk.getSupportedAlgorithms(AlgorithmFilter filter) Retrieves cryptographic algorithms matching the specified filter criteria.AuthenticatedSdk.listAllKeys(KeyFilters filters) Lists ALL keys matching the filters by auto-paginating through the server's paginated listing (the AWS-CLI pattern: the API pages, the client iterates).AuthenticatedSdk.listKeys(KeyFilters filters, int page, int size) Lists ONE PAGE of the keys accessible to the authenticated client.AuthenticatedSdk.performMigrationWorkflow(File pkcs7File, co.ankatech.secure.client.model.Pkcs7ConversionStreamRequest conversionRequest, File outputFile) Performs a complete PKCS#7-to-JOSE migration workflow with analysis and conversion.Re-encrypts data with a different key without decrypting to plaintext.Re-encrypts a JWE tonewKid, replacing the recipient the caller names.AuthenticatedSdk.reencryptFile(String newKid, String sourceKid, Path input, Path output) Re-encrypts a file of any format tonewKid, replacing the recipient the caller names, and selecting the path from the input's actual format exactly asAuthenticatedSdk.reencryptFile(String, Path, Path)does.AuthenticatedSdk.reencryptFile(String newKid, Path input, Path output) Re-encrypts a file.AuthenticatedSdk.reencryptFileCompact(String newKid, String sourceKid, Path input, Path output) Re-encrypts a Compact or General JSON JWE file tonewKid, replacing the recipient the caller names.AuthenticatedSdk.reencryptFileCompact(String newKid, Path input, Path output) Re-encrypts a file with forced compact format.AuthenticatedSdk.reencryptFileStream(String newKid, String sourceKid, Path input, Path output) Re-encrypts a file with forced streaming format.Re-signs data with a different key without verifying the original signature.AuthenticatedSdk.resign(String newKid, String jws, JwsSerialization serialization) Re-signs a JWS, explicitly selecting the JWS serialization.Re-signs a JWS withnewKid, replacing the signature of the signer the caller names.AuthenticatedSdk.resign(String newKid, String sourceKid, String jws, JwsSerialization serialization) Re-signs a JWS withnewKid, replacing the signature of the signer the caller names and selecting the JWS serialization.AuthenticatedSdk.resignFileCompact(String newKid, String sourceKid, Path input, Path output) Re-signs a JWS file withnewKid, replacing the signature of the signer the caller names.AuthenticatedSdk.resignFileCompact(String newKid, String sourceKid, Path input, Path output, JwsSerialization serialization) Re-signs a JWS file withnewKid, replacing the signature of the signer the caller names and selecting the JWS serialization.AuthenticatedSdk.resignFileCompact(String newKid, Path input, Path output) Re-signs a compact JWS file with forced compact format.AuthenticatedSdk.resignFileCompact(String newKid, Path input, Path output, JwsSerialization serialization) Re-signs a JWS file (attached), explicitly selecting the JWS serialization.AuthenticatedSdk.resignFileStream(Path oldJwsHeader, String newKid, String sourceKid, Path input, Path output) Re-signs a detached JWS in streaming mode, naming the signer whose signature is replaced; sent as thesourceKidmember of the/crypto/stream/resignmetadata part.AuthenticatedSdk.resignFileStream(Path oldJwsHeader, String newKid, String sourceKid, Path input, Path output, SignOptions options) Re-signs a file in streaming mode with options for the new signature.AuthenticatedSdk.resignFileStream(Path oldJwsHeader, String newKid, Path input, Path output) Re-signs a detached JWS signature with forced streaming format.Signs raw bytes using the key identified bykid.AuthenticatedSdk.sign(String kid, byte[] data, JwsSerialization serialization) Signs raw bytes, explicitly selecting the JWS serialization.AuthenticatedSdk.sign(String kid, byte[] data, JwsSerialization serialization, SignOptions options) Signs raw bytes with an explicit serialization and signature options.Signs a file.AuthenticatedSdk.signFileCompact(String kid, Path input, Path output) Signs a file with forced compact format.AuthenticatedSdk.signFileCompact(String kid, Path input, Path output, JwsSerialization serialization) Signs a file (attached), explicitly selecting the JWS serialization.AuthenticatedSdk.signFileCompact(String kid, Path input, Path output, JwsSerialization serialization, SignOptions options) Signs a file (attached) with an explicit serialization and signature options.AuthenticatedSdk.signFileStream(String kid, Path input, Path output) Signs a file with forced streaming format.AuthenticatedSdk.signThenEncrypt(String signKid, String encryptKid, byte[] data) Signs then encrypts data in a single operation (nested JWE containing JWS).AuthenticatedSdk.signThenEncrypt(String signKid, String encryptKid, byte[] data, JwsSerialization serialization) Signs then encrypts, explicitly selecting the inner-JWS serialization.AuthenticatedSdk.signThenEncrypt(String signKid, String encryptKid, byte[] data, JwsSerialization serialization, SignOptions options) Signs then encrypts data with an explicit inner serialization and options for the inner signature.AuthenticatedSdk.signThenEncryptFileCompact(String signKid, String encryptKid, Path input, Path output) Signs then encrypts a file with forced compact format.AuthenticatedSdk.signThenEncryptFileCompact(String signKid, String encryptKid, Path input, Path output, JwsSerialization serialization) Signs a file then encrypts it, explicitly selecting the inner-JWS serialization.AuthenticatedSdk.signThenEncryptFileCompact(String signKid, String encryptKid, Path input, Path output, JwsSerialization serialization, SignOptions options) Signs then encrypts a file (compact) with an explicit inner serialization and options for the inner signature.AuthenticatedSdk.signThenEncryptFileStream(String signKid, String encryptKid, Path input, Path output) Signs a file then encrypts it in streaming mode (nested JWE(JWS), bounded memory) — the large-file counterpart ofAuthenticatedSdk.signThenEncryptFileCompact(String, String, Path, Path).AuthenticatedSdk.signThenEncryptFileStream(String signKid, String encryptKid, Path input, Path output, SignEncryptStreamOptions options) Signs then encrypts a file in streaming mode with options: the inner signature's validity and the advisory flavor hint, sent in the request's metadata part.AuthenticatedSdk.verifySignature(String jws) Verifies an attached JWS (RFC 7515) signature held in memory.AuthenticatedSdk.verifySignature(Path jwsFile) Verifies a JWS signature from a file, accepting either the compact form or the JWS-JSON form (serialization-agnostic).AuthenticatedSdk.verifySignatureStream(Path dataFile, Path signatureFile) Verifies a detached JWS signature with forced streaming format.AuthenticatedSdk.verifySignatureUtilityStream(String kty, String alg, String publicKeyB64, String signatureB64, Path dataFile) Verifies a signature using a provided public key (without requiring key in ANKASecure). -
Uses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk.auth
Methods in co.ankatech.ankasecure.sdk.auth that throw AnkaSecureSdkExceptionModifier and TypeMethodDescriptionfinal StringCachingTokenSource.accessToken()SuppliedTokenSource.accessToken()TokenSource.accessToken()Returns a token that is valid now, minting one if none is cached or the cached one is inside the refresh window, and binding whatever it returns to the transport.static TokenSourceTokenSourceChain.resolve(co.ankatech.ankasecure.openapi.client.AnkaSecureOpenApiClient client, AuthSettings settings) Builds the token source the configuration calls for.static Optional<TokenSourceChain.Link>TokenSourceChain.selected(AuthSettings settings) The link that would answer, applying the order and the ambiguity rule. -
Uses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk.examples
Methods in co.ankatech.ankasecure.sdk.examples that throw AnkaSecureSdkExceptionModifier and TypeMethodDescriptionExamplePlaygroundKeys.kidForAlgorithm(String alg) Returns the first pre-provisioned kid whose algorithm equalsalg(case-insensitive).ExamplePlaygroundKeys.kidForAlgorithmAndOp(String alg, String keyOp) Returns the first pre-provisioned kid whose algorithm equalsalgAND whosekeyOpsincludekeyOp— for picking between keys that share an algorithm but differ in operation (e.g. distinct cross-kid endpoints). -
Uses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk.exception
Subclasses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk.exceptionModifier and TypeClassDescriptionfinal classThe fail-closed outcome of a streaming decrypt-then-verify whose two-verdict trailing part isINVALID: the decrypted plaintext was discarded and no file exists at the destination.final classThrown when a file-output operation cannot commit its result because a file already exists at the destination andFAIL_IF_EXISTS(the default) is in effect.final classA streaming request that requires HTTP/2 was about to be sent over a connection that negotiated something else, and was refused before any request byte was written.final classThrown when a file operation fails on the caller's own file system: an input file could not be read, or the result — or a working file derived from the input — could not be written.final classA request under PQC transport was refused by the SDK, either because the response cannot be trusted as the server's answer, or because completing it would take a route that PQC transport does not protect and the caller did not choose that route.final classThrown when a streaming / atomic file-output operation cannot create its quarantine sidecar (<destination>.part) because a file already exists at the sidecar path — the signature of a stale sidecar orphaned by a prior crashed or force-killed operation (theCREATE_NEWsidecar is normally deleted on BOTH the success and the fail-closed paths, so a surviving one indicates an earlier abnormal termination).classThrown when a streaming file-output operation cannot commit its result because the server-emitted end-of-stream integrity verdict did not pass (fail-closed).final classThe request body could not be written to completion, so nothing was committed.final classThrown when the server rejects a previously-issued access token with HTTP 401 on a data-plane operation. -
Uses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk.internal.service.impl
Methods in co.ankatech.ankasecure.sdk.internal.service.impl that throw AnkaSecureSdkExceptionModifier and TypeMethodDescriptionco.ankatech.secure.client.model.Pkcs7AnalysisResponseMigrationServiceImpl.analyzePkcs7(co.ankatech.secure.client.model.Pkcs7AnalysisRequest request) co.ankatech.secure.client.model.Pkcs7AnalysisResponseMigrationServiceImpl.analyzePkcs7Stream(File file) co.ankatech.secure.client.model.Pkcs7ConversionResponseMigrationServiceImpl.convertPkcs7ToJose(co.ankatech.secure.client.model.Pkcs7ConversionRequest request) MigrationServiceImpl.convertPkcs7ToJoseStream(co.ankatech.secure.client.model.Pkcs7ConversionStreamRequest metadata, File inputFile, File outputFile) co.ankatech.ankasecure.sdk.internal.service.CryptoService.DecryptBytesHolderCryptoServiceImpl.decryptBytes(String recipientKid, String jweToken) Decrypt a JWE (Compact or General JSON) that is already in RAM.CryptoServiceImpl.decryptFile(String recipientKid, Path input, Path output) CryptoServiceImpl.decryptFileStream(String recipientKid, Path input, Path output) Decrypts a JWET multipart file via streaming API.CombinedOperationsServiceImpl.decryptThenVerify(String recipientKid, String jweToken) CombinedOperationsServiceImpl.decryptThenVerifyFile(String recipientKid, Path input, Path output) CombinedOperationsServiceImpl.decryptThenVerifyFileStream(String recipientKid, Path input, Path output) CryptoServiceImpl.encryptBytes(String kid, byte[] plaintext) Encrypt raw bytes with a server-side **public** key.CryptoServiceImpl.encryptFile(String kid, Path input, Path output) CryptoServiceImpl.encryptFileStream(String kid, Path input, Path output) MigrationServiceImpl.encryptFileUtilityStream(String kty, String alg, String pubB64, Path input, Path output) MigrationServiceImpl.encryptWithExternalPublicKey(String kty, String alg, String pubKeyB64, Path input, Path output) KeyManagementServiceImpl.getKeyMetadata(String kid) KeyManagementServiceImpl.getSupportedAlgorithms()KeyManagementServiceImpl.getSupportedAlgorithms(AlgorithmFilter filter) KeyManagementServiceImpl.listAllKeys(KeyFilters filters) KeyManagementServiceImpl.listKeys(KeyFilters filters, int page, int size) MigrationServiceImpl.performMigrationWorkflow(File pkcs7File, co.ankatech.secure.client.model.Pkcs7ConversionStreamRequest conversionRequest, File outputFile) CryptoServiceImpl.reencryptBytes(String newKid, String sourceKid, String jweToken) Re-encrypt a JWE in memory so it becomes protected bynewKid.CryptoServiceImpl.reencryptFile(String newKid, String sourceKid, Path input, Path output) CryptoServiceImpl.reencryptFileStream(String newKid, String sourceKid, Path input, Path output) Server-side re-encryption of a ciphertext with a new key.SignatureServiceImpl.resignBytes(String newKid, String sourceKid, String oldJws) Re-sign a Compact JWS switching tonewKid.SignatureServiceImpl.resignBytes(String newKid, String sourceKid, String oldJws, JwsSerialization serialization) SignatureServiceImpl.resignFile(String newKid, String sourceKid, Path oldJws, Path newJws) SignatureServiceImpl.resignFile(String newKid, String sourceKid, Path oldJws, Path newJws, JwsSerialization serialization) SignatureServiceImpl.resignFileStream(Path oldJws, String newKid, String sourceKid, Path input, Path newSigOut, SignOptions options) Sign an in-memory payload with a server-side **private** key.SignatureServiceImpl.signBytes(String kid, byte[] data, JwsSerialization serialization, SignOptions options) SignatureServiceImpl.signFile(String kid, Path input, Path jwsOut, JwsSerialization serialization, SignOptions options) SignatureServiceImpl.signFileStream(String kid, Path input, Path sigOut) CombinedOperationsServiceImpl.signThenEncrypt(String signKid, String encryptKid, byte[] data) CombinedOperationsServiceImpl.signThenEncrypt(String signKid, String encryptKid, byte[] data, JwsSerialization serialization, SignOptions options) CombinedOperationsServiceImpl.signThenEncryptFile(String signKid, String encryptKid, Path input, Path output) CombinedOperationsServiceImpl.signThenEncryptFile(String signKid, String encryptKid, Path input, Path output, JwsSerialization serialization, SignOptions options) CombinedOperationsServiceImpl.signThenEncryptFileStream(String signKid, String encryptKid, Path input, Path output) CombinedOperationsServiceImpl.signThenEncryptFileStream(String signKid, String encryptKid, Path input, Path output, SignEncryptStreamOptions options) SignatureServiceImpl.verifySignature(Path jwsFile) SignatureServiceImpl.verifySignatureBytes(String jwsToken) Verify a Compact JWS that is fully in memory.MigrationServiceImpl.verifySignatureStream(Path input, Path jwsHdr) MigrationServiceImpl.verifySignatureUtilityStream(String kty, String alg, String pubKeyB64, String sigB64, Path input) MigrationServiceImpl.verifyWithExternalPublicKey(String kty, String alg, String pubKeyB64, String sigB64, Path input) -
Uses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk.operations
Methods in co.ankatech.ankasecure.sdk.operations that throw AnkaSecureSdkExceptionModifier and TypeMethodDescriptionco.ankatech.secure.client.model.Pkcs7AnalysisResponseUtilityOperations.analyzePkcs7(co.ankatech.secure.client.model.Pkcs7AnalysisRequest request) Analyzes a PKCS#7 structure (compact mode).co.ankatech.secure.client.model.Pkcs7AnalysisResponseUtilityOperations.analyzePkcs7Stream(File file) Analyzes a PKCS#7 structure (streaming mode for large files).co.ankatech.secure.client.model.Pkcs7ConversionResponseUtilityOperations.convertPkcs7ToJose(co.ankatech.secure.client.model.Pkcs7ConversionRequest request) Converts PKCS#7 signed-data to JOSE JWS format (compact mode).UtilityOperations.convertPkcs7ToJoseStream(co.ankatech.secure.client.model.Pkcs7ConversionStreamRequest metadata, File inputFile, File outputFile) Converts PKCS#7 signed-data to JOSE JWS format (streaming mode for large files).Decrypts a JWE token string, Compact or General JSON.EncryptionOperations.decryptFileCompact(String recipientKid, Path input, Path output) Decrypts a file containing a JWE token, Compact or General JSON.EncryptionOperations.decryptFileStream(String recipientKid, Path input, Path output) Decrypts a file in streaming mode (designed for large files >100 MB).CombinedOperations.decryptThenVerify(String recipientKid, String jweToken) CombinedOperations.decryptThenVerifyFileCompact(String recipientKid, Path input, Path output) CombinedOperations.decryptThenVerifyFileStream(String recipientKid, Path input, Path output) Encrypts raw bytes using the key identified bykid.EncryptionOperations.encryptFileCompact(String kid, Path input, Path output) Encrypts a file using the key identified bykid.EncryptionOperations.encryptFileStream(String kid, Path input, Path output) Encrypts a file in streaming mode (designed for large files >100 MB).CombinedOperations.encryptFileUtilityStream(String kty, String alg, String publicKeyB64, Path input, Path output) KeyManagementOperations.getKeyMetadata(String kid) Retrieves complete metadata for a specific key.AlgorithmCatalogOperations.getSupportedAlgorithms()Retrieves the complete catalog of cryptographic algorithms supported by the server.AlgorithmCatalogOperations.getSupportedAlgorithms(AlgorithmFilter filter) Retrieves supported algorithms matching the specified filter criteria.KeyManagementOperations.listAllKeys(KeyFilters filters) Lists ALL keys matching the filters via client-side auto-pagination (bounded; throws PaginationCeilingExceededException beyond the hard cap).KeyManagementOperations.listKeys(KeyFilters filters, int page, int size) Lists ONE PAGE of keys with optional server-side filters (applied BEFORE pagination — the page totals are filtered, tenant-scoped counts).UtilityOperations.performMigrationWorkflow(File pkcs7File, co.ankatech.secure.client.model.Pkcs7ConversionStreamRequest conversionRequest, File outputFile) Performs a complete PKCS#7-to-JOSE migration workflow with analysis and conversion.CombinedOperations.reencryptFileCompact(String newKid, String sourceKid, Path input, Path output) CombinedOperations.reencryptFileStream(String newKid, String sourceKid, Path input, Path output) CombinedOperations.resign(String newKid, String sourceKid, String jws, JwsSerialization serialization) Re-signs a JWS with an explicit JWS serialization selection.CombinedOperations.resignFileCompact(String newKid, String sourceKid, Path input, Path output) CombinedOperations.resignFileCompact(String newKid, String sourceKid, Path input, Path output, JwsSerialization serialization) Re-signs a file with an explicit JWS serialization selection.CombinedOperations.resignFileStream(Path oldJwsHeader, String newKid, String sourceKid, Path input, Path output, SignOptions options) Signs raw bytes using the key identified bykid.SignatureOperations.sign(String kid, byte[] data, JwsSerialization serialization, SignOptions options) Signs raw bytes with an explicit JWS serialization selection.SignatureOperations.signFileCompact(String kid, Path input, Path output) Signs a file using the key identified bykid.SignatureOperations.signFileCompact(String kid, Path input, Path output, JwsSerialization serialization, SignOptions options) Signs a file with an explicit JWS serialization selection.SignatureOperations.signFileStream(String kid, Path input, Path output) Signs a file in streaming mode (designed for large files >100 MB).CombinedOperations.signThenEncrypt(String signKid, String encryptKid, byte[] data) CombinedOperations.signThenEncrypt(String signKid, String encryptKid, byte[] data, JwsSerialization serialization, SignOptions options) Signs then encrypts with an explicit inner-JWS serialization selection.CombinedOperations.signThenEncryptFileCompact(String signKid, String encryptKid, Path input, Path output) CombinedOperations.signThenEncryptFileCompact(String signKid, String encryptKid, Path input, Path output, JwsSerialization serialization, SignOptions options) Signs a file then encrypts it with an explicit inner-JWS serialization selection.CombinedOperations.signThenEncryptFileStream(String signKid, String encryptKid, Path input, Path output, SignEncryptStreamOptions options) SignatureOperations.verifySignature(String jws) Verifies an attached JWS signature string.SignatureOperations.verifySignatureFile(Path jwsFile) Verifies a JWS signature from a file (compact or JWS-JSON).SignatureOperations.verifySignatureStream(Path dataFile, Path signatureFile) Verifies a detached signature in streaming mode (designed for large files >100 MB).CombinedOperations.verifySignatureUtilityStream(String kty, String alg, String publicKeyB64, String signatureB64, Path dataFile) SignatureOperations.verifySignatureUtilityStream(String kty, String alg, String publicKeyB64, String signatureB64, Path dataFile) Verifies a signature using an external public key (utility operation).