FIDO-Raw
view release on metacpan or search on metacpan
lib/FIDO/Raw/Assert.pm view on Meta::CPAN
package FIDO::Raw::Assert;
$FIDO::Raw::Assert::VERSION = '0.06';
use strict;
use warnings;
use FIDO::Raw;
=head1 NAME
FIDO::Raw::Assert
=head1 VERSION
version 0.06
=head1 DESCRIPTION
FIDO2 Assertion
=head1 METHODS
=head2 new( )
Create a new instance.
=head2 allow_cred( $cred )
Append the credential C<$cred> to the list of credentials allowed for this
assertion.
=head2 authdata( [$index = 0, $data] )
Get/set the authenticator data. C<$data> must be a CBOR-encoded byte
string. Alternatively, L<C<authdata_raw>|"authdata_raw"> may be used
to set raw binary blob.
=head2 authdata_raw( $data, [$index = 0] )
Set the authenticator data as a raw binary blob.
=head2 clientdata_hash( [$hash] )
Get/set the clientdata hash.
=head2 count( [$total] )
Get/set the number of assertion statements.
=head2 extensions( $flags )
Set the extensions to the bitmask of C<$flags>. At the moment,
only C<EXT_HMAC_SECRET> is supported.
=head2 hmac_salt( $salt )
Set the HMAC salt.
=head2 hmac_secret( [$index = 0] )
Get the HMAC secret.
=head2 rp( [$id] )
Get/set the relying party ID.
=head2 sig( [$index = 0, $signature] )
Get/set the signature.
=head2 sigcount( [$index = 0] )
Get the signature counter.
=head2 up( )
Set the user presence attribute.
=head2 user( [$index = 0] )
Get the user details. Returns a hash reference.
=head2 uv( )
Set the user verification attribute.
=head2 flags( [$index = 0] )
Get the authenticator data flags.
( run in 0.547 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )