Skip to content

SignDataResult ​

SignDataResult ​

Result of signData: the signature plus its on-wire algorithm identity.

ts
interface SignDataResult {
	readonly signature: Uint8Array;
	readonly algorithmOid: string;
	readonly parametersDer?: Uint8Array;
}

Properties

  • readonly signature: Uint8Array — The signature bytes. ECDSA is DER ECDSA-Sig-Value, everything else raw.
  • readonly algorithmOid: string — Dotted-decimal signature algorithm OID.
  • readonly parametersDer?: Uint8Array — DER algorithm parameters when the algorithm carries them (NULL for PKCS#1 v1.5, RSA-PSS params).

Released under the MIT License.