import * as simplewebauthn from "https://deno.land/x/simplewebauthn@v11.0.0/packages/server/src/helpers/iso/index.ts";
Functions
Encode the given array buffer into a Base64URL-encoded string. Ideal for converting various credential response ArrayBuffers to string for sending back to the server as JSON. | |
Encode a UTF-8 string to base64url | |
Confirm that the string is encoded into base64 | |
Confirm that the string is encoded into base64url, with support for optional padding | |
Convert a base64url string into base64 | |
Decode from a Base64URL-encoded string to an ArrayBuffer. Best used when converting a credential ID from a JSON string to an ArrayBuffer, like in allowCredentials or excludeCredentials. | |
Decode a base64url string into its original UTF-8 string | |
Remove optional padding from a base64url-encoded string | |
Decode and return the first item in a sequence of CBOR-encoded values | |
Encode data to CBOR | |
Generate a digest of the provided data. | |
Fill up the provided bytes array with random bytes equal to its length. | |
Verify signatures with their public key. Supports EC2 and RSA public keys. | |
Make sure two Uint8Arrays are deeply equivalent | |
Combine multiple Uint8Arrays into a single Uint8Array | |
Convert an ASCII string to Uint8Array | |
Convert a hexadecimal string to isoUint8Array. | |
Convert a UTF-8 string back into bytes | |
Prepare a DataView we can slice our way around in as we parse the bytes in a Uint8Array | |
Convert a Uint8Array to Hexadecimal. | |
Convert bytes into a UTF-8 string |