Top Fields Constructors Methods
org.bouncycastle.asn1.ocsp

public Class SingleResponse

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1GeneralizedTime, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x509.Extensions, .X509Extensions

Field Summary

Modifier and TypeField and Description
private CertID
private CertStatus
private ASN1GeneralizedTime
private Extensions
private ASN1GeneralizedTime

Constructor Summary

AccessConstructor and Description
public
SingleResponse(CertID certID, CertStatus certStatus, ASN1GeneralizedTime thisUpdate, ASN1GeneralizedTime nextUpdate, X509Extensions singleExtensions)

Deprecated use method taking ASN1GeneralizedTime and Extensions
public
SingleResponse(CertID certID, CertStatus certStatus, ASN1GeneralizedTime thisUpdate, ASN1GeneralizedTime nextUpdate, Extensions singleExtensions)

private

Method Summary

Modifier and TypeMethod and Description
public CertID
public CertStatus
public static SingleResponse
getInstance(ASN1TaggedObject obj, boolean explicit)

public static SingleResponse
public ASN1GeneralizedTime
public Extensions
public ASN1GeneralizedTime
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certIDback to summary
private CertID certID
certStatusback to summary
private CertStatus certStatus
nextUpdateback to summary
private ASN1GeneralizedTime nextUpdate
singleExtensionsback to summary
private Extensions singleExtensions
thisUpdateback to summary
private ASN1GeneralizedTime thisUpdate

Constructor Detail

SingleResponseback to summary
public SingleResponse(CertID certID, CertStatus certStatus, ASN1GeneralizedTime thisUpdate, ASN1GeneralizedTime nextUpdate, X509Extensions singleExtensions)

Deprecated

use method taking ASN1GeneralizedTime and Extensions

SingleResponseback to summary
public SingleResponse(CertID certID, CertStatus certStatus, ASN1GeneralizedTime thisUpdate, ASN1GeneralizedTime nextUpdate, Extensions singleExtensions)
SingleResponseback to summary
private SingleResponse(ASN1Sequence seq)

Method Detail

getCertIDback to summary
public CertID getCertID()
getCertStatusback to summary
public CertStatus getCertStatus()
getInstanceback to summary
public static SingleResponse getInstance(ASN1TaggedObject obj, boolean explicit)
getInstanceback to summary
public static SingleResponse getInstance(Object obj)
getNextUpdateback to summary
public ASN1GeneralizedTime getNextUpdate()
getSingleExtensionsback to summary
public Extensions getSingleExtensions()
getThisUpdateback to summary
public ASN1GeneralizedTime getThisUpdate()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

 SingleResponse ::= SEQUENCE {
         certID                       CertID,
         certStatus                   CertStatus,
         thisUpdate                   GeneralizedTime,
         nextUpdate         [0]       EXPLICIT GeneralizedTime OPTIONAL,
         singleExtensions   [1]       EXPLICIT Extensions OPTIONAL }
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.