Package org.apache.harmony.security.x509
Class IssuingDistributionPoint
java.lang.Object
org.apache.harmony.security.x509.ExtensionValue
org.apache.harmony.security.x509.IssuingDistributionPoint
public final class IssuingDistributionPoint extends ExtensionValue
CRL's Issuing Distribution Point Extension (OID = 2.5.29.28).
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)-
Field Summary
-
Constructor Summary
Constructors Constructor Description IssuingDistributionPoint(DistributionPointName distributionPoint, ReasonFlags onlySomeReasons)Constructs the object on the base of its distributionPoint and onlySomeReasons fields values. -
Method Summary
Modifier and Type Method Description static IssuingDistributionPointdecode(byte[] encoding)Creates the extension object on the base of its encoded form.voiddumpValue(StringBuilder sb, String prefix)byte[]getEncoded()Returns encoded form of the object.voidsetIndirectCRL(boolean indirectCRL)Sets the value of indirectCRL field of the structure.voidsetOnlyContainsAttributeCerts(boolean onlyContainsAttributeCerts)Sets the value of onlyContainsAttributeCerts field of the structure.voidsetOnlyContainsCACerts(boolean onlyContainsCACerts)Sets the value of onlyContainsCACerts field of the structure.voidsetOnlyContainsUserCerts(boolean onlyContainsUserCerts)Sets the value of onlyContainsUserCerts field of the structure.
-
Field Details
-
ASN1
ASN.1 Encoder/Decoder.
-
-
Constructor Details
-
IssuingDistributionPoint
public IssuingDistributionPoint(DistributionPointName distributionPoint, ReasonFlags onlySomeReasons)Constructs the object on the base of its distributionPoint and onlySomeReasons fields values.
-
-
Method Details
-
decode
Creates the extension object on the base of its encoded form.- Throws:
IOException
-
setOnlyContainsUserCerts
public void setOnlyContainsUserCerts(boolean onlyContainsUserCerts)Sets the value of onlyContainsUserCerts field of the structure. -
setOnlyContainsCACerts
public void setOnlyContainsCACerts(boolean onlyContainsCACerts)Sets the value of onlyContainsCACerts field of the structure. -
setIndirectCRL
public void setIndirectCRL(boolean indirectCRL)Sets the value of indirectCRL field of the structure. -
setOnlyContainsAttributeCerts
public void setOnlyContainsAttributeCerts(boolean onlyContainsAttributeCerts)Sets the value of onlyContainsAttributeCerts field of the structure. -
getEncoded
public byte[] getEncoded()Description copied from class:ExtensionValueReturns encoded form of the object.- Overrides:
getEncodedin classExtensionValue
-
dumpValue
- Overrides:
dumpValuein classExtensionValue
-