Skip to content

Commit 5d7ee4e

Browse files
committed
Padd the b64 android keystore attestion certs
1 parent 1c6b515 commit 5d7ee4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/credman/cmwallet/openid4vci/OpenId4VCI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ class OpenId4VCI(val credentialOfferJson: String) {
452452
return ProofCreationResult(
453453
proofs = Proofs(
454454
androidKeystoreAttestation = certificates.map { certificateArray ->
455-
certificateArray.map { certificate -> certificate.encoded.toBase64NoPadding() }
455+
certificateArray.map { certificate -> certificate.encoded.encodeBase64() }
456456
}
457457
),
458458
deviceKeys = deviceKeys,

0 commit comments

Comments
 (0)