Goedel.Cryptography.RSAKeyPair.GetKeyInfo C# (CSharp) Method

GetKeyInfo() private method

private GetKeyInfo ( ) : SubjectPublicKeyInfo
return SubjectPublicKeyInfo
        SubjectPublicKeyInfo GetKeyInfo() {
            var RSAParameters = Provider.ExportParameters(false);
            var RSAPublicKey = new RSAPublicKey(RSAParameters);
            var Result = new SubjectPublicKeyInfo(CryptoConfig.MapNameToOID("RSA"), 
                        RSAPublicKey.DER());

            return Result;
            }