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 X509ExtensionStore.fromCertificate

1
2
3
4
5
6

Documentation

Loads all of the extensions of the given certificate into the provided store.

Notes

This function is destructive - store's original contents will be overwritten.

This function currently only allocates memory to store a list of unknown extensions.

This function does not perform a deep copy. The original underlying bytes for the X509CertificateMUST be kept allocated an unmodified for its entire lifetime, and that extends to its extensions.

certis passed by ref for efficiency since it's very large.

Params

Throws

Anything that Asn1SequenceOf.foreachElementAutocan throw.

Anything that x509HandleExtensioncan throw.

Anything that X509ExtensionStore.setcan throw.

Returns

A Resultindicating if an error occurred or not.