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 x509LoadDefaultCertificates

1
2
3
4
5

Documentation

Loads the platform's default certificates into the given store.

Notes

If this function throws X509StoreError.noDefaultCertificatesFound, it's safe to ignore this result and continue using the provided store, as effectively nothing happened.

Params

Throws

Anything that File.openForReadingcan.

Anything that X509CertificateStore.loadBundleFromPemcan.

X509StoreError.noDefaultCertificatesFoundif no default certificates could be found.

Returns

A Resultindicating if an error occurred or not.