Skip to main content

Module algorithm

Module algorithm 

Source
Expand description

Which algorithm, and the parameters that go with it.

The identifier is kept as it was encoded and is not interpreted here. What may be verified with a key, and how, belongs to the algorithm registry; this layer’s job is to hand that registry exactly what the certificate said, including parameters it does not understand.

Modules§

pss
Borrowed RSASSA-PSS parameters, without selecting a cryptographic provider.

Structs§

AlgorithmIdentifier
An algorithm and its parameters, as the certificate wrote them.
AlgorithmReading
Original algorithm fields plus a recoverable parameter-syntax diagnostic.

Functions§

read
Reads an algorithm identifier from an element a schema said is one.
read_implicit
Reads an original [number] IMPLICIT AlgorithmIdentifier without retagging.
read_implicit_inspection
Original IMPLICIT counterpart of read_inspection, sharing the same kernel.
read_inspection
Inspects a uniquely shaped identifier while retaining parameter syntax faults.