PrimeInfo

data class PrimeInfo(val prime: BigInteger, val exponent: BigInteger, val coefficient: BigInteger) : Asn1Encodable<Asn1Sequence> (source)

OtherPrimeInfos as per PKCS#1

OtherPrimeInfo ::= SEQUENCE {
prime INTEGER, -- ri
exponent INTEGER, -- di
coefficient INTEGER -- ti
}

Constructors

Link copied to clipboard
constructor(prime: BigInteger, exponent: BigInteger, coefficient: BigInteger)

Properties

Link copied to clipboard
val coefficient: BigInteger
Link copied to clipboard
val exponent: BigInteger
Link copied to clipboard
val prime: BigInteger

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun encodeToDerSafe(): KmmResult<ByteArray>
Link copied to clipboard
open override fun encodeToTlv(): Asn1Sequence
Link copied to clipboard
Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<Asn1Sequence>
Link copied to clipboard
open infix fun withImplicitTag(tagValue: ULong): Asn1Element