示例#1
0
/*		public CertType Type {
 *                      get { return ctbits; }
 *                      set { ctbits = value; }
 *              }*/

        public bool Support(CertTypes usage)
        {
            int x = Convert.ToInt32(usage, CultureInfo.InvariantCulture);

            return((x & ctbits) == x);
        }
/*		public CertType Type {
			get { return ctbits; }
			set { ctbits = value; }
		}*/

		public bool Support (CertTypes usage) 
		{
			int x = Convert.ToInt32 (usage, CultureInfo.InvariantCulture);
			return ((x & ctbits) == x);
		}