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

tech.relaycorp.relaynet.OIDs.kt Maven / Gradle / Ivy

There is a newer version: 1.69.11
Show newest version
package tech.relaycorp.relaynet

import org.bouncycastle.asn1.ASN1ObjectIdentifier

internal object OIDs {
    // iso.org.dod.internet.private.enterprise.relaycorp
    private val RELAYCORP: ASN1ObjectIdentifier =
        ASN1ObjectIdentifier("1.3.6.1.4.1.58708").intern()

    private val AWALA = RELAYCORP.branch("0").intern()

    private val AWALA_PKI = AWALA.branch("1").intern()
    val ORIGINATOR_EPHEMERAL_CERT_SERIAL_NUMBER: ASN1ObjectIdentifier =
        AWALA_PKI.branch("0")

    private val PRIVATE_NODE_REGISTRATION_PREFIX = AWALA.branch("2").intern()
    val PNRA: ASN1ObjectIdentifier =
        PRIVATE_NODE_REGISTRATION_PREFIX.branch("0").intern()
    val PNRA_COUNTERSIGNATURE: ASN1ObjectIdentifier =
        PRIVATE_NODE_REGISTRATION_PREFIX.branch("1").intern()

    val DETACHED_SIGNATURE: ASN1ObjectIdentifier = AWALA.branch("3").intern()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy