Crescendo SDK
|
Represents a CTAP2 attestation statement containing cryptographic proof of credential origin. More...
Static Public Member Functions | |
static AttestationStatement | FromJson (JToken? json) |
Parses an AttestationStatement from JSON data. | |
Properties | |
int | Alg [get, set] |
COSE algorithm identifier for the attestation signature. | |
byte[] | Sig = default! [get, set] |
Cryptographic signature over the attestation data. | |
List< byte[]> | X5c = new List<byte[]>() [get, set] |
X.509 certificate chain (for X.509-based attestation formats) | |
Represents a CTAP2 attestation statement containing cryptographic proof of credential origin.
|
inlinestatic |
Parses an AttestationStatement from JSON data.
json | JToken containing attestation statement data |
InvalidOperationException | Thrown if required fields (alg, sig) are missing or invalid |
References CrescendoDLL.PCSC.cert.
|
getset |
COSE algorithm identifier for the attestation signature.
Required parameter. Registered algorithm identifier from IANA COSE Algorithms Registry (e.g., -7 for ES256, -257 for RS256). Matches the algorithm used in the authenticator's attestation key.
|
getset |
Cryptographic signature over the attestation data.
Required parameter. Signature generated using the attestation private key over:
Verification method depends on the attestation format.
|
getset |
X.509 certificate chain (for X.509-based attestation formats)
Optional parameter. Ordered list where:
May be empty for non-X.509 attestation formats (e.g., packed).