Functions

Link copied to clipboard

Tries to decode src into an X509Certificate, by parsing the bytes directly as ASN.1 structure, or by decoding from Base64, or by decoding to a String, stripping PEM headers (-----BEGIN CERTIFICATE-----) and then decoding from Base64.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun decodeFromDerSafe(src: ByteArray, assertTag: Asn1Element.Tag?): KmmResult<X509Certificate>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun decodeFromTlvSafe(src: Asn1Sequence, assertTag: Asn1Element.Tag?): KmmResult<X509Certificate>
Link copied to clipboard
open override fun doDecode(src: Asn1Sequence): X509Certificate
Link copied to clipboard
open fun verifyTag(src: Asn1Sequence, assertTag: Asn1Element.Tag?)