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.
42 lines
1.0 KiB
42 lines
1.0 KiB
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) |
|
#pragma warning disable |
|
using System; |
|
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp; |
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; |
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math; |
|
|
|
namespace BestHTTP.SecureProtocol.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; |
|
} |
|
} |
|
} |
|
#pragma warning restore |
|
#endif
|
|
|