internal SecretAttributes(bool? enabled, DateTime? expires, DateTime? notBefore, 
     DateTime? created, DateTime? updated, string contentType, Dictionary<string, string> tags)
 {
     this.Enabled = enabled;
     this.Expires = expires;
     this.NotBefore = notBefore;
     this.Created = created;
     this.Updated = updated;
     this.ContentType = contentType;
     this.Tags = (tags == null) ? null : tags.ConvertToHashtable();
 }
Пример #2
0
 internal KeyAttributes(bool? enabled, DateTime? expires, DateTime? notBefore, string keyType,
     string[] keyOps, DateTime? created, DateTime? updated, Dictionary<string, string> tags)
 {
     this.Enabled = enabled;
     this.Expires = expires;
     this.NotBefore = notBefore;
     this.KeyType = keyType;
     this.KeyOps = keyOps;
     this.Created = created;
     this.Updated = updated;
     this.Tags = (tags == null) ? null : tags.ConvertToHashtable();
 }