• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Asn1Encodable类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: PkiBody

 /**
  * Creates a new PkiBody.
  * @param type one of the TYPE_* constants
  * @param content message content
  */
 public PkiBody(
     int type,
     Asn1Encodable content)
 {
     tagNo = type;
     body = GetBodyForType(type, content);
 }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:12,代码来源:PKIBody.cs


示例17: PolicyQualifierInfo

        /**
         * Creates a new <code>PolicyQualifierInfo</code> instance.
         *
         * @param policyQualifierId a <code>PolicyQualifierId</code> value
         * @param qualifier the qualifier, defined by the above field.
         */
        public PolicyQualifierInfo(
			DerObjectIdentifier	policyQualifierId,
			Asn1Encodable		qualifier)
        {
            this.policyQualifierId = policyQualifierId;
            this.qualifier = qualifier;
        }
开发者ID:hjgode,项目名称:iTextSharpCF,代码行数:13,代码来源:PolicyQualifierInfo.cs


示例18: AlgorithmIdentifier

		public AlgorithmIdentifier(
            DerObjectIdentifier	objectID,
            Asn1Encodable		parameters)
        {
            this.objectID = objectID;
            this.parameters = parameters;
        }
开发者ID:pusp,项目名称:o2platform,代码行数:7,代码来源:AlgorithmIdentifier.cs


示例19: 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


示例20: PrivateKeyInfo

 public PrivateKeyInfo(
     AlgorithmIdentifier	algID,
     Asn1Encodable       privateKey,
     Asn1Set				attributes)
 {
     this.algID = algID;
     this.privKey = new DerOctetString(privateKey.GetEncoded(Asn1Encodable.Der));
     this.attributes = attributes;
 }
开发者ID:KimikoMuffin,项目名称:bc-csharp,代码行数:9,代码来源:PrivateKeyInfo.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Asn1EncodableVector类代码示例发布时间:2022-05-24
下一篇:
C# Asn1类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap