interface · Browser and Node
PublicKey
@toip-tools/coseView sourceimport { type PublicKey } from "@toip-tools/cose";
Declaration
interface PublicKey {
curve: Curve;
/** Ed25519: 32 bytes. P-256: a SEC1 point (33 or 65 bytes) or a SubjectPublicKeyInfo. */
bytes: Uint8Array;
}
Properties
curverequiredCurvebytesrequiredUint8Array<ArrayBufferLike>Ed25519: 32 bytes. P-256: a SEC1 point (33 or 65 bytes) or a SubjectPublicKeyInfo.