本文整理汇总了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;
}
示例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)
{
}
示例3: AlgorithmIdentifier
public AlgorithmIdentifier(
DerObjectIdentifier algorithm,
Asn1Encodable parameters)
{
this.algorithm = algorithm;
this.parameters = parameters;
}
示例4: OtherRevocationInfoFormat
public OtherRevocationInfoFormat(
DerObjectIdentifier otherRevInfoFormat,
Asn1Encodable otherRevInfo)
{
this.otherRevInfoFormat = otherRevInfoFormat;
this.otherRevInfo = otherRevInfo;
}
示例5: OtherRecipientInfo
public OtherRecipientInfo(
DerObjectIdentifier oriType,
Asn1Encodable oriValue)
{
this.oriType = oriType;
this.oriValue = oriValue;
}
示例6: InfoTypeAndValue
public InfoTypeAndValue(
DerObjectIdentifier infoType,
Asn1Encodable optionalValue)
{
this.infoType = infoType;
this.infoValue = optionalValue;
}
示例7: AddOptional
private void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj)
{
if (obj != null)
{
v.Add(new DerTaggedObject(true, tagNo, obj));
}
}
示例8: CertStatus
public CertStatus(
int tagNo,
Asn1Encodable value)
{
this.tagNo = tagNo;
this.value = value;
}
示例9: AttributeTypeAndValue
public AttributeTypeAndValue(
DerObjectIdentifier type,
Asn1Encodable value)
{
this.type = type;
this.value = value;
}
示例10: QCStatement
public QCStatement(
DerObjectIdentifier qcStatementId,
Asn1Encodable qcStatementInfo)
{
this.qcStatementId = qcStatementId;
this.qcStatementInfo = qcStatementInfo;
}
示例11: checkMandatoryField
protected void checkMandatoryField(string name, Asn1Encodable expected, Asn1Encodable present)
{
if (!expected.Equals(present))
{
Fail(name + " field doesn't match.");
}
}
示例12: DistributionPointName
public DistributionPointName(
int type,
Asn1Encodable name)
{
this.type = type;
this.name = name;
}
示例13: SubjectPublicKeyInfo
public SubjectPublicKeyInfo(
AlgorithmIdentifier algID,
Asn1Encodable publicKey)
{
this.keyData = new DerBitString(publicKey);
this.algID = algID;
}
示例14: SigPolicyQualifierInfo
public SigPolicyQualifierInfo(
DerObjectIdentifier sigPolicyQualifierId,
Asn1Encodable sigQualifier)
{
this.sigPolicyQualifierId = sigPolicyQualifierId;
this.sigQualifier = sigQualifier.ToAsn1Object();
}
示例15: ContentInfo
public ContentInfo(
DerObjectIdentifier contentType,
Asn1Encodable content)
{
this.contentType = contentType;
this.content = content;
}