FromSEC1

object FromSEC1 : Asn1Decodable<Asn1Sequence, CryptoPrivateKey.EC> (source)

Functions

Link copied to clipboard
open fun decodeFromDer(src: ByteArray, assertTag: Asn1Element.Tag?): CryptoPrivateKey.EC
Link copied to clipboard
open fun decodeFromDerOrNull(src: ByteArray, assertTag: Asn1Element.Tag?): CryptoPrivateKey.EC?
Link copied to clipboard
open fun decodeFromDerSafe(src: ByteArray, assertTag: Asn1Element.Tag?): KmmResult<CryptoPrivateKey.EC>
Link copied to clipboard
open fun decodeFromTlv(src: Asn1Sequence, assertTag: Asn1Element.Tag?): CryptoPrivateKey.EC
Link copied to clipboard
open fun decodeFromTlvOrNull(src: Asn1Sequence, assertTag: Asn1Element.Tag?): CryptoPrivateKey.EC?
Link copied to clipboard
open fun decodeFromTlvSafe(src: Asn1Sequence, assertTag: Asn1Element.Tag?): KmmResult<CryptoPrivateKey.EC>
Link copied to clipboard
open override fun doDecode(src: Asn1Sequence): CryptoPrivateKey.EC

fun doDecode(src: Asn1Sequence, attributes: List<Asn1Element>? = null): CryptoPrivateKey.EC

SEC1 V2 decoding optionally supporting attributes for later PKCS#8 encoding

Link copied to clipboard
open fun verifyTag(src: Asn1Sequence, assertTag: Asn1Element.Tag?)