Package web5.sdk.jose.jws
Class JwsHeader
-
- All Implemented Interfaces:
public final class JwsHeaderJSON Web Signature (JWS) Header Parameters
The Header Parameter names for use in JWSs are registered in the IANA "JSON Web Signature and Encryption Header Parameters" registry.
Spec: https://datatracker.ietf.org/doc/html/rfc7515
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJwsHeader.BuilderBuilder for JwsHeader.
public classJwsHeader.Companion
-
Method Summary
-
-
Constructor Detail
-
JwsHeader
JwsHeader(String typ, String alg, String kid)
- Parameters:
typ- The "typ" (type) Header Parameter is used by JWS applications to declare the media typealg- The "alg" (algorithm) Header Parameter identifies the cryptographic algorithm used tokid- The "kid" (key ID) Header Parameter is a hint indicating which key was used to secure
-
-
-
-