Uses of Class
co.ankatech.ankasecure.sdk.exception.AnkaSecureSdkException
Packages that use AnkaSecureSdkException
Package
Description
-
Uses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk.internal.service
Methods in co.ankatech.ankasecure.sdk.internal.service that throw AnkaSecureSdkExceptionModifier and TypeMethodDescriptionKeyManagementService.createRotation
(String kid, GenerateKeySpec successor, ZonedDateTime scheduledAt) CryptoService.decryptBytes
(String ciphertextJwe) Decrypts a textual Compact JWE that is already in memory.CryptoService.decryptFile
(Path input, Path output) CryptoService.decryptFileStream
(Path input, Path output) CryptoService.encryptBytes
(String kid, byte[] plaintext) Encrypts raw bytes with the public key identified bykid
.CryptoService.encryptFile
(String kid, Path input, Path output) CryptoService.encryptFileStream
(String kid, Path input, Path output) MigrationService.encryptFileUtilityStream
(String kty, String alg, String publicKeyB64, Path input, Path output) MigrationService.encryptWithExternalPublicKey
(String kty, String alg, String publicKeyB64, Path input, Path output) void
MigrationService.exportKeyToFile
(String kid, Path output) void
KeyManagementService.generateKey
(GenerateKeySpec spec) RotationJobResponse
KeyManagementService.getRotationJob
(String jobId) KeyManagementService.getSupportedAlgorithms()
void
MigrationService.importKey
(ImportKeySpec spec) void
MigrationService.importPrivateKeyPkcs12
(Pkcs12ImportSpec spec) KeyManagementService.listKeys()
void
CryptoService.reencryptBytes
(String newKid, String jweCiphertext) Re-encrypts (rotates) an existing Compact JWE that is in memory so it becomes protected bynewKid
.CryptoService.reencryptFile
(String newKid, Path input, Path output) CryptoService.reencryptFileStream
(String newKid, Path input, Path output) void
SignatureService.resignBytes
(String newKid, String oldJws) Generates a fresh Compact JWS for the payload embedded inoldJws
.SignatureService.resignFile
(String newKid, Path oldJwsFile, Path newJwsFile) SignatureService.resignFileStream
(Path oldJwsHeader, String newKid, Path input, Path newSignature) Re-sign a detached-payload JWS in streaming mode.
The existing *General-JSON* header (containing the oldkid
) is supplied inoldJwsHeader
.void
Signs an in-memory payload with the private keykid
.SignatureService.signFileStream
(String kid, Path input, Path signature) SignatureService.verifySignature
(Path compactJwsFile) SignatureService.verifySignatureBytes
(String jws) Verifies a textual Compact JWS that is already in memory.MigrationService.verifySignatureStream
(Path input, Path signature) MigrationService.verifySignatureUtilityStream
(String kty, String alg, String publicKeyB64, String signatureB64, Path input) MigrationService.verifyWithExternalPublicKey
(String kty, String alg, String publicKeyB64, String signatureB64, Path input) -
Uses of AnkaSecureSdkException in co.ankatech.ankasecure.sdk.internal.util
Methods in co.ankatech.ankasecure.sdk.internal.util that return AnkaSecureSdkExceptionModifier and TypeMethodDescriptionstatic AnkaSecureSdkException
Wrapscause
into anAnkaSecureSdkException
enriched with HTTP status, raw response body (when available) and an immutable context map.