123456module juptune.data.x509.store;
static Result fromCertificate(
X509Certificate cert,
X509ExtensionStore store
);
Loads all of the extensions of the given certificate into the provided store.
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.
Anything that Asn1SequenceOf.foreachElementAutocan throw.
Anything that x509HandleExtensioncan throw.
Anything that X509ExtensionStore.setcan throw.
A Resultindicating if an error occurred or not.