bovine.crypto.signature
Signature
dataclass
Helper class to parse HTTP Signatures
Source code in bovine/bovine/crypto/signature.py
fields: List[str]
property
Returns the fields that are used when building the signature
from_signature_header(header)
staticmethod
Takes the signature header and turns into Signature object
The header is assumed of the for key=value,… The keys keyId, algorithm, headers, and signature are parsed. If algorithm is absent it is assumed to be rsa-sha256. The other keys are required.