TsgcWSAPIServer_WebAuthn메서드 › ValidateRegistrationOptions

ValidateRegistrationOptions Method

클라이언트 attestation 페이로드를 파싱하고 WebAuthn 사양에 따라 새 자격 증명 등록을 검증합니다.

구문

procedure ValidateRegistrationOptions(const aPayload: string);

Parameters

NameType설명
aPayloadconst stringattestationObjectclientDataJSON을 포함하는 클라이언트 navigator.credentials.create() 호출이 반환한 JSON 페이로드입니다.

설명

CBOR attestationObject를 디코딩하고, 활성화된 형식(packed, tpm, android-key, android-safetynet, fido-u2f, apple, none)에 따라 attestation 명령문을 검증하며, 자격 증명 id와 공개 키를 추출하여 자격 증명 저장소에 저장합니다. 적절하게 OnWebAuthnRegistrationValidateCertificate, OnWebAuthnRegistrationValidateCredentialId, OnWebAuthnRegistrationSuccessfulOnWebAuthnRegistrationError를 발생시킵니다. 내장 HTTP 엔드포인트 외부에서 등록을 구동할 때만 이 메서드를 수동으로 호출하십시오.

예제

sgcWSAPIServer_WebAuthn1.ValidateRegistrationOptions(vClientJSON);

메서드로 돌아가기