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


C# Asn1Encodable.ToAsn1Object方法代码示例

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


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

示例1: SigPolicyQualifierInfo

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

示例2: DumpAsString

 /**
  * Dump out the object as a string
  *
  * @param obj the Asn1Encodable to be dumped out.
  * @param verbose  if true, dump out the contents of octet and bit strings.
  * @return  the resulting string.
  */
 public static string DumpAsString(
     Asn1Encodable	obj,
     bool			verbose)
 {
     StringBuilder buf = new StringBuilder();
     AsString("", verbose, obj.ToAsn1Object(), buf);
     return buf.ToString();
 }
开发者ID:bitcoinkit,项目名称:BitcoinKit-CSharp,代码行数:15,代码来源:Asn1Dump.cs

示例3: OtherRevRefs

		public OtherRevRefs(
			DerObjectIdentifier	otherRevRefType,
			Asn1Encodable		otherRevRefs)
		{
			if (otherRevRefType == null)
				throw new ArgumentNullException("otherRevRefType");
			if (otherRevRefs == null)
				throw new ArgumentNullException("otherRevRefs");

			this.otherRevRefType = otherRevRefType;
			this.otherRevRefs = otherRevRefs.ToAsn1Object();
		}
开发者ID:MBrekhof,项目名称:pleiobox-clients,代码行数:12,代码来源:OtherRevRefs.cs

示例4: CommitmentTypeQualifier

    /**
        * Creates a new <code>CommitmentTypeQualifier</code> instance.
        *
        * @param commitmentTypeIdentifier a <code>CommitmentTypeIdentifier</code> value
        * @param qualifier the qualifier, defined by the above field.
        */
        public CommitmentTypeQualifier(
            DerObjectIdentifier	commitmentTypeIdentifier,
            Asn1Encodable		qualifier)
        {
			if (commitmentTypeIdentifier == null)
				throw new ArgumentNullException("commitmentTypeIdentifier");

			this.commitmentTypeIdentifier = commitmentTypeIdentifier;

			if (qualifier != null)
			{
				this.qualifier = qualifier.ToAsn1Object();
			}
        }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:20,代码来源:CommitmentTypeQualifier.cs

示例5: DumpAsString

		/**
		 * Dump out the object as a string
		 *
		 * @param obj the Asn1Encodable to be dumped out.
		 * @param verbose  if true, dump out the contents of octet and bit strings.
		 * @return  the resulting string.
		 */
		public static string DumpAsString(
			Asn1Encodable	obj,
			bool			verbose)
		{
			return AsString("", verbose, obj.ToAsn1Object());
		}
开发者ID:nicecai,项目名称:iTextSharp-4.1.6,代码行数:13,代码来源:Asn1Dump.cs

示例6: AttCertIssuer

		/// <summary>
		/// Don't use this one if you are trying to be RFC 3281 compliant.
		/// Use it for v1 attribute certificates only.
		/// </summary>
		/// <param name="names">Our GeneralNames structure</param>
		public AttCertIssuer(
			GeneralNames names)
		{
			obj = names;
			choiceObj = obj.ToAsn1Object();
		}
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:11,代码来源:AttCertIssuer.cs


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