Skip to main content

entity.authenticity.signature_jws

SignatureJws Objects

class SignatureJws()

Represents a JSON Web Signature (JWS). RFC 7515.

__init__

def __init__(message_hash: str, signature: str, protected: str,
header: SignatureHeaderJws) -> None

Constructs a SignatureJws object with the specified parameters.

get_alg

def get_alg() -> SignatureAlg

Gets the algorithm used for the JWS signature.