public static string IV(string keyName) { var asset = USecurityInterface.Load(keyName) as AESKey; if (asset == null) { throw new NullReferenceException(); } return(asset.iv); }
public static string PrivateKey(string keyName) { var asset = USecurityInterface.Load(keyName) as RSAKey; if (asset == null) { throw new NullReferenceException(); } return(asset.privateKey); }