|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.crypto.AbstractX509Extension anon.crypto.X509IssuingDistributionPoint
public class X509IssuingDistributionPoint
This class implements the IssuingDistributionPoint extension for X.509-CRLs as specified in RFC 5280.
http://tools.ietf.org/html/rfc5280
Field Summary | |
---|---|
static java.lang.String |
IDENTIFIER
|
private org.bouncycastle.asn1.x509.IssuingDistributionPoint |
m_issuingDistributionPoint
|
Constructor Summary | |
---|---|
X509IssuingDistributionPoint(boolean a_indirectCRL)
Creates an new X509IssuingDistributionPoint object with the specified values the CRL contains revoked certificates issued by other CAs |
|
X509IssuingDistributionPoint(org.bouncycastle.asn1.DERSequence a_extension)
Creates an new X509BasicConstraints object from a BouncyCastle DERSequence |
|
X509IssuingDistributionPoint(org.bouncycastle.asn1.x509.DistributionPointName distributionPoint,
boolean onlyContainsUserCerts,
boolean onlyContainsCACerts,
org.bouncycastle.asn1.x509.ReasonFlags onlySomeReasons,
boolean indirectCRL,
boolean onlyContainsAttributeCerts)
Creates an new X509IssuingDistributionPoint object with the specified values |
Method Summary | |
---|---|
private static byte[] |
createDEROctets(org.bouncycastle.asn1.x509.DistributionPointName distributionPoint,
boolean onlyContainsUserCerts,
boolean onlyContainsCACerts,
org.bouncycastle.asn1.x509.ReasonFlags onlySomeReasons,
boolean indirectCRL,
boolean onlyContainsAttributeCerts)
Generates the DEROctets of this extension to hand over to the super class. |
private void |
createValue()
Instantiates a new BouncyCastle IssuingDistributionPoint from the DEROctets of this extension. |
org.bouncycastle.asn1.x509.IssuingDistributionPoint |
getIssuingDistributionPoint()
|
java.lang.String |
getName()
Returns the human-readable name of this extension. |
java.util.Vector |
getValues()
This method returns all values of this extension in separated String objects. |
boolean |
isIndirectCRL()
|
Methods inherited from class anon.crypto.AbstractX509Extension |
---|
equals, getBCExtension, getDEROctets, getIdentifier, getInstance, hashCode, isCritical, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IDENTIFIER
private org.bouncycastle.asn1.x509.IssuingDistributionPoint m_issuingDistributionPoint
Constructor Detail |
---|
public X509IssuingDistributionPoint(org.bouncycastle.asn1.x509.DistributionPointName distributionPoint, boolean onlyContainsUserCerts, boolean onlyContainsCACerts, org.bouncycastle.asn1.x509.ReasonFlags onlySomeReasons, boolean indirectCRL, boolean onlyContainsAttributeCerts)
distributionPoint
- the name of the distribution pointonlyContainsUserCerts
- the CRL contains only revoked UserCertsonlyContainsCACerts
- the CRL contains only revoked CA-CertsonlySomeReasons
- the CRL contains only certificates revoked because of SomeReasonsindirectCRL
- the CRL contains revoked certificates issued by other CAsonlyContainsAttributeCerts
- the CRL contains only revoked AttributeCertspublic X509IssuingDistributionPoint(boolean a_indirectCRL)
a_indirectCRL
- public X509IssuingDistributionPoint(org.bouncycastle.asn1.DERSequence a_extension)
a_extension
- the extions as DERSequenceMethod Detail |
---|
private void createValue()
private static byte[] createDEROctets(org.bouncycastle.asn1.x509.DistributionPointName distributionPoint, boolean onlyContainsUserCerts, boolean onlyContainsCACerts, org.bouncycastle.asn1.x509.ReasonFlags onlySomeReasons, boolean indirectCRL, boolean onlyContainsAttributeCerts)
distributionPoint
- the name of the distribution pointonlyContainsUserCerts
- the CRL contains only revoked UserCertsonlyContainsCACerts
- the CRL contains only revoked CA-CertsonlySomeReasons
- the CRL contains only certificates revoked because of SomeReasonsindirectCRL
- the CRL contains revoked certificates issued by other CAsonlyContainsAttributeCerts
- the CRL contains only revoked AttributeCerts
public java.lang.String getName()
AbstractX509Extension
getName
in class AbstractX509Extension
public java.util.Vector getValues()
AbstractX509Extension
getValues
in class AbstractX509Extension
public boolean isIndirectCRL()
true
if the CRL contains revoked certificates issued by other CAspublic org.bouncycastle.asn1.x509.IssuingDistributionPoint getIssuingDistributionPoint()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |