All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.binaryfoo.crypto.RecoveredPublicKeyCertificate.kt Maven / Gradle / Ivy

There is a newer version: 0.1.8
Show newest version
package io.github.binaryfoo.crypto

import io.github.binaryfoo.DecodedData

/**
 * Covers both Issuer and ICC (chip card) cases.
 */
data class RecoveredPublicKeyCertificate(
        val owner: String,
        val detail: List,
        val exponentLength: String,
        val leftKeyPart: String,
        var rightKeyPart: String? = null) : PublicKeyCertificate {

    override var exponent: String? = null

    override val modulus: String
        get() = leftKeyPart + (rightKeyPart ?: "")

    override val name: String
        get() = "$owner public key"
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy