Minimal implementation of classes and methods necessary to support the JWT functional...
[mono.git] / mcs / class / System.IdentityModel / System.IdentityModel.Tokens / EncryptingCredentials.cs
1 namespace System.IdentityModel.Tokens
2 {
3         public class EncryptingCredentials
4         {
5                 public string Algorithm { get; set; }
6                 public SecurityKey SecurityKey { get; set; }
7                 public SecurityKeyIdentifier SecurityKeyIdentifier { get; set; }
8
9                 public EncryptingCredentials ()
10                 { }
11
12                 public EncryptingCredentials (SecurityKey key, SecurityKeyIdentifier keyIdentifier, string algorithm) {
13                         SecurityKey = key;
14                         SecurityKeyIdentifier = keyIdentifier;
15                         Algorithm = algorithm;
16                 }
17         }
18 }