Authen-WebAuthn
view release on metacpan or search on metacpan
lib/Authen/WebAuthn.pm view on Meta::CPAN
croak "AAGUID from certificate ($cert_aaguid)"
. " does not match AAGUID from authenticator data ($ad_aaguid)"
if $ad_aaguid ne $cert_aaguid;
}
# Optionally, inspect x5c and consult externally provided knowledge to
# determine whether attStmt conveys a Basic or AttCA attestation.
# TODO
# If successful, return implementation-specific values representing
# attestation type Basic, AttCA or uncertainty, and attestation trust path
# x5c.
if ( $attestation_verifier->( $sig, $signed_value ) ) {
return {
success => 1,
type => "Basic",
trust_path => $attestation_statement->{x5c},
aaguid => $authenticator_data->{attestedCredentialData}->{aaguid},
};
}
else {
( run in 0.519 second using v1.01-cache-2.11-cpan-d6f9594c0a5 )