fromDer

Reads one X.509 certificate in DER.

Return

TrustAnchorParse.Parsed with the anchor, or TrustAnchorParse.Unreadable with the reason and where in the bytes it was found, as an offset counted from the first byte of the DER passed here. Never throws for bad data.