public class RevocationInfoArchival
extends iaik.asn1.structures.AttributeValue
RevocationInfoArchival ::= SEQUENCE { crl [0] EXPLICIT SEQUENCE of CRLs, OPTIONAL ocsp [1] EXPLICIT SEQUENCE of OCSP Responses, OPTIONAL otherRevInfo [2] EXPLICIT SEQUENCE of OtherRevInfo, OPTIONAL }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID_ADBE_REVOCATION
Object identifier for the adbe-revocationInfoArchival attribute.
|
static iaik.asn1.ObjectID |
oid |
Constructor and Description |
---|
RevocationInfoArchival()
Create empty RevocationInfoArchival object
|
RevocationInfoArchival(iaik.asn1.ASN1Object asn1Object)
Create RevocationInfoArchival from ASN1Object
|
RevocationInfoArchival(java.security.cert.CRL crl)
Create new RevocationInfoArchival object using given CRL
|
RevocationInfoArchival(iaik.x509.ocsp.OCSPResponse resp)
Create new RevocationInfoArchival object using given OCSP response
|
RevocationInfoArchival(OtherRevInfo otherRevInfo)
Create new RevocationInfoArchival object using given element of type OtherRevInfo
|
Modifier and Type | Method and Description |
---|---|
void |
addCrl(java.security.cert.CRL crl) |
void |
addOcspResponse(iaik.x509.ocsp.OCSPResponse resp) |
void |
addOtherRevInfo(OtherRevInfo otherRevInfo) |
void |
decode(iaik.asn1.ASN1Object obj)
Decodes the given ASN.1 RevocationInfoArchival object
|
iaik.asn1.ObjectID |
getAttributeType() |
java.security.cert.CRL[] |
getCrls() |
iaik.x509.ocsp.OCSPResponse[] |
getOcspResponses() |
OtherRevInfo[] |
getOtherRevInfos() |
iaik.asn1.ASN1Object |
toASN1Object() |
java.lang.String |
toString() |
public static java.lang.String ID_ADBE_REVOCATION
public static final iaik.asn1.ObjectID oid
public RevocationInfoArchival()
public RevocationInfoArchival(iaik.x509.ocsp.OCSPResponse resp)
resp
- OCSP response to be includedpublic RevocationInfoArchival(java.security.cert.CRL crl)
crl
- CRL to be includedpublic RevocationInfoArchival(OtherRevInfo otherRevInfo)
otherRevInfo
- otherRevInfo object to be includedpublic RevocationInfoArchival(iaik.asn1.ASN1Object asn1Object) throws iaik.asn1.CodingException, java.security.cert.CRLException, iaik.x509.ocsp.UnknownResponseException, java.io.IOException
asn1Object
- RevocationInfoARchival object in ASN1 formatiaik.asn1.CodingException
- if OCSP responses can't be parsedjava.security.cert.CRLException
- if CRLs can't be parsediaik.x509.ocsp.UnknownResponseException
- if OCSP response bytes are of unknown typejava.io.IOException
- if elements of type OtherRevInfo can't be readpublic void addOcspResponse(iaik.x509.ocsp.OCSPResponse resp)
resp
- OCSP response to be addedpublic void addCrl(java.security.cert.CRL crl)
crl
- CRL to be addedpublic void addOtherRevInfo(OtherRevInfo otherRevInfo)
otherRevInfo
- revocation information of type otherRevInfo to be addedpublic iaik.x509.ocsp.OCSPResponse[] getOcspResponses()
public java.security.cert.CRL[] getCrls()
public OtherRevInfo[] getOtherRevInfos()
public iaik.asn1.ASN1Object toASN1Object()
public void decode(iaik.asn1.ASN1Object obj) throws iaik.asn1.CodingException
obj
- the RevocationInfoArchival as ASN1Objectiaik.asn1.CodingException
- if the ASN1Object could not be parsedpublic iaik.asn1.ObjectID getAttributeType()
getAttributeType
in class iaik.asn1.structures.AttributeValue
public java.lang.String toString()
toString
in class iaik.asn1.structures.AttributeValue