Class RsaPrivateKeyStructure
- Namespace
- Enterprises.Org.BouncyCastle.Asn1.Pkcs
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class RsaPrivateKeyStructure : Asn1Encodable, IAsn1Convertible
- Inheritance
-
RsaPrivateKeyStructure
- Implements
-
- Inherited Members
-
Constructors
RsaPrivateKeyStructure(Asn1Sequence)
[Obsolete("Use 'GetInstance' method(s) instead")]
public RsaPrivateKeyStructure(Asn1Sequence seq)
Parameters
seq
Asn1Sequence
RsaPrivateKeyStructure(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger)
public RsaPrivateKeyStructure(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger prime1, BigInteger prime2, BigInteger exponent1, BigInteger exponent2, BigInteger coefficient)
Parameters
modulus
BigInteger
publicExponent
BigInteger
privateExponent
BigInteger
prime1
BigInteger
prime2
BigInteger
exponent1
BigInteger
exponent2
BigInteger
coefficient
BigInteger
Properties
Coefficient
public BigInteger Coefficient { get; }
Property Value
- BigInteger
Exponent1
public BigInteger Exponent1 { get; }
Property Value
- BigInteger
Exponent2
public BigInteger Exponent2 { get; }
Property Value
- BigInteger
Modulus
public BigInteger Modulus { get; }
Property Value
- BigInteger
Prime1
public BigInteger Prime1 { get; }
Property Value
- BigInteger
Prime2
public BigInteger Prime2 { get; }
Property Value
- BigInteger
PrivateExponent
public BigInteger PrivateExponent { get; }
Property Value
- BigInteger
PublicExponent
public BigInteger PublicExponent { get; }
Property Value
- BigInteger
Methods
GetInstance(Asn1TaggedObject, bool)
public static RsaPrivateKeyStructure GetInstance(Asn1TaggedObject obj, bool isExplicit)
Parameters
obj
Asn1TaggedObject
isExplicit
bool
Returns
- RsaPrivateKeyStructure
GetInstance(object)
public static RsaPrivateKeyStructure GetInstance(object obj)
Parameters
obj
object
Returns
- RsaPrivateKeyStructure
ToAsn1Object()
public override Asn1Object ToAsn1Object()
Returns
- Asn1Object