Exemplo n.º 1
0
        public static string IV(string keyName)
        {
            var asset = USecurityInterface.Load(keyName) as AESKey;

            if (asset == null)
            {
                throw new NullReferenceException();
            }

            return(asset.iv);
        }
Exemplo n.º 2
0
        public static string PrivateKey(string keyName)
        {
            var asset = USecurityInterface.Load(keyName) as RSAKey;

            if (asset == null)
            {
                throw new NullReferenceException();
            }

            return(asset.privateKey);
        }