示例#1
0
 public GpgKey(string id, GpgKeyType type, int bits, DateTime created, GpgKeyUsage usage, DateTime expiry, GpgKeyStatus status)
     : base(type, bits, created, usage, expiry, status)
 {
     Id   = id;
     Uids = new List <GpgUid>();
     Subs = new List <GpgSub>();
 }
示例#2
0
 public GpgSub(GpgKeyType type, int bits, DateTime created, GpgKeyUsage usage, DateTime expiry, GpgKeyStatus status)
 {
     Type    = type;
     Bits    = bits;
     Created = created;
     Usage   = usage;
     Expiry  = expiry;
     Status  = status;
 }