GitHub

InvalidKey

API reference for InvalidKey.

Rejected key material: a wrong raw length, malformed DER, PEM or JWK, a CryptoKey that does not match the typed key, or a peer key that gives an all-zero shared secret.

Attributes

AttributeTypeDescription
descriptionstr
causeobject = None
tagReasonTag = 'InvalidKey'
messagestr

Functions

__init__

__init__(description, cause=None) -> None
ParameterTypeDescription
descriptionstr
causeobject = None