exception documentation

Exception raised when a signature is not from a trusted key.

Method __init__ Initialize UntrustedSignature exception.
Instance Variable signing_keys List of key IDs that signed the data (if determinable)
Instance Variable trusted_keys List of key IDs that were trusted (if applicable)
def __init__(self, message: str, signing_keys: list[str] | None = None, trusted_keys: list[str] | None = None):

Initialize UntrustedSignature exception.

Parameters
message:strError message
signing_keys:list[str] | NoneList of key IDs that signed the data (if determinable)
trusted_keys:list[str] | NoneList of key IDs that were trusted (if applicable)
signing_keys =

List of key IDs that signed the data (if determinable)

trusted_keys =

List of key IDs that were trusted (if applicable)