public final class IssuingDistributionPoint extends ExtensionValue
id-ce-issuingDistributionPoint OBJECT IDENTIFIER ::= { id-ce 28 }
issuingDistributionPoint ::= SEQUENCE {
distributionPoint [0] DistributionPointName OPTIONAL,
onlyContainsUserCerts [1] BOOLEAN DEFAULT FALSE,
onlyContainsCACerts [2] BOOLEAN DEFAULT FALSE,
onlySomeReasons [3] ReasonFlags OPTIONAL,
indirectCRL [4] BOOLEAN DEFAULT FALSE,
onlyContainsAttributeCerts [5] BOOLEAN DEFAULT FALSE
}
(as specified in RFC 3280 http://www.ietf.org/rfc/rfc3280.txt)| Modifier and Type | Field and Description |
|---|---|
static ASN1Type |
ASN1
ASN.1 Encoder/Decoder.
|
encoding| Constructor and Description |
|---|
IssuingDistributionPoint(DistributionPointName distributionPoint,
ReasonFlags onlySomeReasons)
Constructs the object on the base of its distributionPoint and
onlySomeReasons fields values.
|
| Modifier and Type | Method and Description |
|---|---|
static IssuingDistributionPoint |
decode(byte[] encoding)
Creates the extension object on the base of its encoded form.
|
void |
dumpValue(StringBuilder sb,
String prefix) |
byte[] |
getEncoded()
Returns encoded form of the object.
|
void |
setIndirectCRL(boolean indirectCRL)
Sets the value of indirectCRL field of the structure.
|
void |
setOnlyContainsAttributeCerts(boolean onlyContainsAttributeCerts)
Sets the value of onlyContainsAttributeCerts field of the structure.
|
void |
setOnlyContainsCACerts(boolean onlyContainsCACerts)
Sets the value of onlyContainsCACerts field of the structure.
|
void |
setOnlyContainsUserCerts(boolean onlyContainsUserCerts)
Sets the value of onlyContainsUserCerts field of the structure.
|
dumpValuepublic static final ASN1Type ASN1
public IssuingDistributionPoint(DistributionPointName distributionPoint, ReasonFlags onlySomeReasons)
public static IssuingDistributionPoint decode(byte[] encoding) throws IOException
IOExceptionpublic void setOnlyContainsUserCerts(boolean onlyContainsUserCerts)
public void setOnlyContainsCACerts(boolean onlyContainsCACerts)
public void setIndirectCRL(boolean indirectCRL)
public void setOnlyContainsAttributeCerts(boolean onlyContainsAttributeCerts)
public byte[] getEncoded()
ExtensionValuegetEncoded in class ExtensionValuepublic void dumpValue(StringBuilder sb, String prefix)
dumpValue in class ExtensionValue