Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions x509ForeachNameComponent

1
2
3
4
5
6
7
8

Documentation

Iterates over the components of the given name, passing them into the provided handler.

Notes

It's recommended to use x509HandleNameComponenton the componentfield passed to the handler, as that will detect most of the common name components.

The ASN.1 model for namecan very technically change in the future (as its a CHOICE type) so it's recommended to always use this function for future compatibility purposes.

Params

Throws

Anything that the provided handlerthrows.

Returns

Any error thrown by handler.