Org.BouncyCastle.Asn1.Ocsp.RevokedInfo.GetInstance C# (CSharp) Method

GetInstance() public static method

public static GetInstance ( Asn1TaggedObject obj, bool explicitly ) : RevokedInfo
obj Org.BouncyCastle.Asn1.Asn1TaggedObject
explicitly bool
return RevokedInfo
		public static RevokedInfo GetInstance(
			Asn1TaggedObject	obj,
			bool				explicitly)
		{
			return GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
		}

Same methods

RevokedInfo::GetInstance ( object obj ) : RevokedInfo

Usage Example

示例#1
0
        public CertStatus(Asn1TaggedObject choice)
        {
            tagNo = choice.TagNo;
            switch (choice.TagNo)
            {
            case 1:
                value = RevokedInfo.GetInstance(choice, explicitly: false);
                break;

            case 0:
            case 2:
                value = DerNull.Instance;
                break;
            }
        }
All Usage Examples Of Org.BouncyCastle.Asn1.Ocsp.RevokedInfo::GetInstance