本文整理汇总了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;未经允许,请勿转载。 |
请发表评论