v0.28.1
What's Changed
- Add createKeyBatchWithAttestation method and corresponding tests for key generation and attestation by @phisakel in #345
Added EudiWallet createKeyBatchWithAttestation method to create a batch of keys with a single attestation:
let result = try await wallet.createKeyBatchWithAttestation(
issuerName: "attested_issuer",
id: UUID().uuidString,
credentialOptions: CredentialOptions(credentialPolicy: .rotateUse, batchSize: 2),
keyOptions: KeyOptions(secureAreaName: SoftwareSecureArea.name, curve: .P256),
nonce: "issuer-provided-nonce"
)
let keys = result.keys
let keyAttestationJwt = result.keyAttestationFull Changelog: v0.28.0...v0.28.1