Beispiel #1
0
        public static string IV(string keyName)
        {
            var asset = USecurityInterface.Load(keyName) as AESKey;

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

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

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

            return(asset.privateKey);
        }