AttestationCert Property
AttestationCert
The Attestation cert used to verify a newly-registered credential.
C#
public X509Certificate2 AttestationCert { get; }
Property Value
Type | Description |
---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 |
Remarks
There is a VerifySignature(ReadOnlyMemory<Byte>, ReadOnlyMemory<Byte>) method that will use the public key
inside the AttestationCert
to verify the signature on the
registration response. That verifies that the newly-generated public
key was indeed generated on the device. However, the SDK has no
classes or methods to verify the AttestationCert
itself. The
relying party app that performs verification must obtain any root and
CA certs necessary and perform certificate verification using some
other means.