PACEParametersDecoder
internal final class PACEParametersDecoder
The PACEParametersDecoder class is responsible for decoding
StandardizedDomainParameters used during PACE based on their identifiers.
-
Declaration
Swift
internal typealias ParametersIdentifier = Int -
Decodes PACE parameters based on their identifier and returns the corresponding
StandardizedDomainParameters.Declaration
Swift
internal static func decode(parametersId: ParametersIdentifier) -> StandardizedDomainParameters?Parameters
parametersIdThe identifier of PACE parameters.
Return Value
The corresponding
StandardizedDomainParametersornilif not found. -
Get the PACE parameters identifier from the corresponding
StandardizedDomainParameters.Declaration
Swift
internal static func getParametersId(from parameters: StandardizedDomainParameters) -> ParametersIdentifier?Parameters
parametersReturn Value
The corresponding PACE parameters identifier or
nilif not found.
View on GitHub
PACEParametersDecoder Class Reference