COSEPublicKey.algorithm()

Returns the COSE algorithm ID alg parameter. Throws an Error if the parameter is undefined or is the wrong type.

Definition

function algorithm(): number;