当前位置: 首页>>代码示例>>C#>>正文


C# Asn1Encodable类代码示例

本文整理汇总了C#中Asn1Encodable的典型用法代码示例。如果您正苦于以下问题:C# Asn1Encodable类的具体用法?C# Asn1Encodable怎么用?C# Asn1Encodable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Asn1Encodable类属于命名空间,在下文中一共展示了Asn1Encodable类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OtherKeyAttribute

		public OtherKeyAttribute(
            DerObjectIdentifier	keyAttrId,
            Asn1Encodable		keyAttr)
        {
            this.keyAttrId = keyAttrId;
            this.keyAttr = keyAttr;
        }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:7,代码来源:OtherKeyAttribute.cs

示例2: DerTaggedObject

		/**
		 * @param explicitly true if an explicitly tagged object.
		 * @param tagNo the tag number for this object.
		 * @param obj the tagged object.
		 */
		public DerTaggedObject(
			bool			explicitly,
			int				tagNo,
			Asn1Encodable	obj)
			: base(explicitly, tagNo, obj)
		{
		}
开发者ID:MBrekhof,项目名称:pleiobox-clients,代码行数:12,代码来源:DerTaggedObject.cs

示例3: AlgorithmIdentifier

 public AlgorithmIdentifier(
     DerObjectIdentifier algorithm,
     Asn1Encodable		parameters)
 {
     this.algorithm = algorithm;
     this.parameters = parameters;
 }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:7,代码来源:AlgorithmIdentifier.cs

示例4: OtherRevocationInfoFormat

 public OtherRevocationInfoFormat(
     DerObjectIdentifier otherRevInfoFormat,
     Asn1Encodable otherRevInfo)
 {
     this.otherRevInfoFormat = otherRevInfoFormat;
     this.otherRevInfo = otherRevInfo;
 }
开发者ID:woutersmit,项目名称:NBitcoin,代码行数:7,代码来源:OtherRevocationInfoFormat.cs

示例5: OtherRecipientInfo

 public OtherRecipientInfo(
     DerObjectIdentifier	oriType,
     Asn1Encodable		oriValue)
 {
     this.oriType = oriType;
     this.oriValue = oriValue;
 }
开发者ID:bitcoinkit,项目名称:BitcoinKit-CSharp,代码行数:7,代码来源:OtherRecipientInfo.cs

示例6: InfoTypeAndValue

 public InfoTypeAndValue(
     DerObjectIdentifier infoType,
     Asn1Encodable       optionalValue)
 {
     this.infoType = infoType;
     this.infoValue = optionalValue;
 }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:7,代码来源:InfoTypeAndValue.cs

示例7: AddOptional

		private void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj)
		{
			if (obj != null)
			{
				v.Add(new DerTaggedObject(true, tagNo, obj));
			}
		}
开发者ID:ktw,项目名称:OutlookPrivacyPlugin,代码行数:7,代码来源:OobCertHash.cs

示例8: CertStatus

		public CertStatus(
            int				tagNo,
            Asn1Encodable	value)
        {
            this.tagNo = tagNo;
            this.value = value;
        }
开发者ID:bcgit,项目名称:bc-csharp,代码行数:7,代码来源:CertStatus.cs

示例9: AttributeTypeAndValue

 public AttributeTypeAndValue(
     DerObjectIdentifier type,
     Asn1Encodable value)
 {
     this.type = type;
     this.value = value;
 }
开发者ID:ktw,项目名称:OutlookPrivacyPlugin,代码行数:7,代码来源:AttributeTypeAndValue.cs

示例10: QCStatement

 public QCStatement(
     DerObjectIdentifier qcStatementId,
     Asn1Encodable       qcStatementInfo)
 {
     this.qcStatementId = qcStatementId;
     this.qcStatementInfo = qcStatementInfo;
 }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:7,代码来源:QCStatement.cs

示例11: checkMandatoryField

		protected void checkMandatoryField(string name, Asn1Encodable expected, Asn1Encodable present)
		{
			if (!expected.Equals(present))
			{
				Fail(name + " field doesn't match.");
			}
		}
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:7,代码来源:ASN1UnitTest.cs

示例12: DistributionPointName

 public DistributionPointName(
     int				type,
     Asn1Encodable	name)
 {
     this.type = type;
     this.name = name;
 }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:7,代码来源:DistributionPointName.cs

示例13: SubjectPublicKeyInfo

		public SubjectPublicKeyInfo(
            AlgorithmIdentifier	algID,
            Asn1Encodable		publicKey)
        {
            this.keyData = new DerBitString(publicKey);
            this.algID = algID;
        }
开发者ID:pusp,项目名称:o2platform,代码行数:7,代码来源:SubjectPublicKeyInfo.cs

示例14: SigPolicyQualifierInfo

		public SigPolicyQualifierInfo(
			DerObjectIdentifier	sigPolicyQualifierId,
			Asn1Encodable		sigQualifier)
		{
			this.sigPolicyQualifierId = sigPolicyQualifierId;
			this.sigQualifier = sigQualifier.ToAsn1Object();
		}
开发者ID:ktw,项目名称:OutlookPrivacyPlugin,代码行数:7,代码来源:SigPolicyQualifierInfo.cs

示例15: ContentInfo

 public ContentInfo(
     DerObjectIdentifier	contentType,
     Asn1Encodable		content)
 {
     this.contentType = contentType;
     this.content = content;
 }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:7,代码来源:ContentInfo.cs


注:本文中的Asn1Encodable类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。