You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
812 B
39 lines
812 B
2 months ago
|
using System;
|
||
|
|
||
|
using Org.BouncyCastle.Asn1.Cmp;
|
||
|
using Org.BouncyCastle.Asn1.X509;
|
||
|
using Org.BouncyCastle.Math;
|
||
|
|
||
|
namespace Org.BouncyCastle.Cmp
|
||
|
{
|
||
|
public class RevocationDetails
|
||
|
{
|
||
|
private readonly RevDetails revDetails;
|
||
|
|
||
|
public RevocationDetails(RevDetails revDetails)
|
||
|
{
|
||
|
this.revDetails = revDetails;
|
||
|
}
|
||
|
|
||
|
public X509Name Subject
|
||
|
{
|
||
|
get { return revDetails.CertDetails.Subject; }
|
||
|
}
|
||
|
|
||
|
public X509Name Issuer
|
||
|
{
|
||
|
get { return revDetails.CertDetails.Issuer; }
|
||
|
}
|
||
|
|
||
|
public BigInteger SerialNumber
|
||
|
{
|
||
|
get { return revDetails.CertDetails.SerialNumber.Value; }
|
||
|
}
|
||
|
|
||
|
public RevDetails ToASN1Structure()
|
||
|
{
|
||
|
return revDetails;
|
||
|
}
|
||
|
}
|
||
|
}
|