BraintreeEncryption.Library.BouncyCastle.Asn1.Pkcs.RsaPrivateKeyStructure.ToAsn1Object C# (CSharp) Method

ToAsn1Object() public method

public ToAsn1Object ( ) : Asn1Object
return Asn1Object
        public override Asn1Object ToAsn1Object()
        {
            return new DerSequence(
                new DerInteger(0), // version
                new DerInteger(Modulus),
                new DerInteger(PublicExponent),
                new DerInteger(PrivateExponent),
                new DerInteger(Prime1),
                new DerInteger(Prime2),
                new DerInteger(Exponent1),
                new DerInteger(Exponent2),
                new DerInteger(Coefficient));
        }