RSAKeyParameters

constructor(modulus: ByteArray, publicExponent: ByteArray, privateExponent: ByteArray, primeP: ByteArray = byteArrayOf(), primeQ: ByteArray = byteArrayOf(), primeExponentP: ByteArray = byteArrayOf(), primeExponentQ: ByteArray = byteArrayOf(), crtCoefficient: ByteArray = byteArrayOf())

Parameters

modulus

publicExponent

公開鍵

privateExponent

秘密鍵

primeP

素数P

primeQ

素数Q

primeExponentP

素数Pの指数

primeExponentQ

素数Qの指数

crtCoefficient

中国剰余定理係数

マイナンバーカードの挙動をシミュレートする際に使用されるRSA秘密鍵です。 moduluspublicExponentprivateExponentのみ使用されます。