@bloock/sdk / SignatureHeaderJws
Class: SignatureHeaderJws
Represents the header of a JSON Web Signature (JWS). RFC 7515.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new SignatureHeaderJws(alg
, kid
): SignatureHeaderJws
Constructs a SignatureHeaderJws object with the specified algorithm and key identifier.
Parameters
Name | Type |
---|---|
alg | string |
kid | string |
Returns
Defined in
entity/authenticity/signature_header_jws.ts:15
Properties
alg
• alg: string
Defined in
entity/authenticity/signature_header_jws.ts:7
kid
• kid: string
Defined in
entity/authenticity/signature_header_jws.ts:8
Methods
toProto
▸ toProto(): SignatureHeaderJWS
Returns
SignatureHeaderJWS
Defined in
entity/authenticity/signature_header_jws.ts:24
fromProto
▸ fromProto(s
): SignatureHeaderJws
Parameters
Name | Type |
---|---|
s | SignatureHeaderJWS |