Esempio n. 1
0
 /// <summary>
 /// Create crl
 /// </summary>
 /// <param name="model"></param>
 public static X509CrlApiModel ToApiModel(
     this X509CrlModel model)
 {
     if (model == null)
     {
         return(null);
     }
     return(new X509CrlApiModel {
         Crl = model.Crl,
         Issuer = model.Issuer
     });
 }
 /// <summary>
 /// Create crl
 /// </summary>
 /// <param name="model"></param>
 public X509CrlApiModel(X509CrlModel model)
 {
     Crl    = model.Crl;
     Issuer = model.Issuer;
 }