Initial commit
[mono.git] / mcs / class / referencesource / mscorlib / system / security / cryptography / asymmetrickeyexchangeformatter.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 // <OWNER>[....]</OWNER>
7 // 
8
9 //
10 // AsymmetricKeyExchangeFormatter.cs
11 //
12
13 namespace System.Security.Cryptography {
14     using System;
15
16 [System.Runtime.InteropServices.ComVisible(true)]
17     public abstract class AsymmetricKeyExchangeFormatter {
18         //
19         // protected constructors
20         //
21     
22         protected AsymmetricKeyExchangeFormatter() {
23         }
24
25         //
26         // public properties
27         //
28
29         public abstract String Parameters {
30             get;
31         }
32     
33         //
34         // public methods
35         //
36
37         abstract public void SetKey(AsymmetricAlgorithm key);
38         abstract public byte[] CreateKeyExchange(byte[] data);
39         abstract public byte[] CreateKeyExchange(byte[] data, Type symAlgType);
40     }    
41 }