C# Class Org.BouncyCastle.Ocsp.BasicOcspResp

BasicOcspResponse ::= SEQUENCE { tbsResponseData ResponseData, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING, certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL }
Inheritance: Org.BouncyCastle.X509.X509ExtensionBase
Mostrar archivo Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

Method Description
BasicOcspResp ( BasicOcspResponse resp ) : System
Equals ( object obj ) : bool
GetCertificates ( string type ) : IX509Store
GetCerts ( ) : Org.BouncyCastle.X509.X509Certificate[]
GetEncoded ( ) : byte[]
GetHashCode ( ) : int
GetSignature ( ) : byte[]
GetTbsResponseData ( ) : byte[]
Verify ( AsymmetricKeyParameter publicKey ) : bool

Verify the signature against the tbsResponseData object we contain.

Protected Methods

Method Description
GetX509Extensions ( ) : X509Extensions

Private Methods

Method Description
GetCertList ( ) : ArrayList
GetResponseData ( ) : RespData

Method Details

BasicOcspResp() public method

public BasicOcspResp ( BasicOcspResponse resp ) : System
resp Org.BouncyCastle.Asn1.Ocsp.BasicOcspResponse
return System

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetCertificates() public method

In the event of an encoding error.
public GetCertificates ( string type ) : IX509Store
type string
return IX509Store

GetCerts() public method

public GetCerts ( ) : Org.BouncyCastle.X509.X509Certificate[]
return Org.BouncyCastle.X509.X509Certificate[]

GetEncoded() public method

public GetEncoded ( ) : byte[]
return byte[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetSignature() public method

public GetSignature ( ) : byte[]
return byte[]

GetTbsResponseData() public method

In the event of an encoding error.
public GetTbsResponseData ( ) : byte[]
return byte[]

GetX509Extensions() protected method

protected GetX509Extensions ( ) : X509Extensions
return Org.BouncyCastle.Asn1.X509.X509Extensions

Verify() public method

Verify the signature against the tbsResponseData object we contain.
public Verify ( AsymmetricKeyParameter publicKey ) : bool
publicKey Org.BouncyCastle.Crypto.AsymmetricKeyParameter
return bool