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 X509CertificateStore.validateChainFromPem

1
2
3
4
5
6

Documentation

A helper function that combines PemParserand validateChainFromCopyingDerBytestogether. Please refer to each of their documentation for any real details.

Notes

Certificates in PEM may not actually be DER encoded (but instead BER). Currently this code hard assumes that the certificate is DER encoded.

Throws

Anything that PemParser.parseNextcan throw.

Anything that validateChainFromCopyingDerBytescan throw.

X509StoreError.wrongPemLabelif any item within the PEM data is not a "CERTIFICATE".

Returns

A Resultindicating if an error occurred or not.

See_Also

PemParser.parseNext, validateChainFromCopyingDerBytes.