Check certificate
Checks a document signing certificate (DSC) to ensure:
- Subject public key of the certificate matches the identified key from the system
- Certificate was signed by the mdoc CA from the configuration
Function
- React Native
- iOS
- Android
func checkCertificate(keyId: String, request: KeyCheckCertificateRequestBindingDto) throws
fun `checkCertificate`(`keyId`: kotlin.String, `request`: KeyCheckCertificateRequestBindingDto)
Parameters
-
keyId
- UUID of key. -
request
- Document signing certificate in PEM or DER format.
Return value
A successful response returns no value.