|
Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10674-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.CRLDistPoint
public class CRLDistPoint
The name of a CRL distribution point, as defined in RFC 2459.
CRLDistPointExtension
, Serialized FormConstructor Summary | |
---|---|
CRLDistPoint() Creates a new empty instance. |
|
CRLDistPoint(CRLDistPointName distPointName) Create a new CRLDistPoint with the given GeneralName . |
|
CRLDistPoint(GeneralName crlIssuerName) Create a new CRLDistPoint with the given general name (relative to the CRL issuer's name). |
|
CRLDistPoint(java.io.InputStream is) Create a new CRLDistPoint by reading its encoded value from the given input stream. |
Method Summary | |
---|---|
void |
addCRLIssuerName(GeneralName crlIssuerName) Adds a name to this distribution point representing the CRL issuer's name. |
void |
clearAllReasonFlags() |
void |
clearReasonFlag(CRLReason reason) |
java.util.Vector<GeneralName> |
getCRLIssuerNames() Deprecated. |
java.util.ArrayList<GeneralName> |
getCRLIssuerNamesAsList() Gets the CRL issuer's name for this distribution point. |
CRLDistPointName |
getDistPointName() Gets the distribution point name for this distribution point. |
boolean |
hasReasonFlag(CRLReason reason) Returns whether or not the distribution point has revocations for the given reason code. |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) |
void |
readExternal(java.io.ObjectInput is) |
void |
setDistPointName(CRLDistPointName distPointName) Sets the distribution point name for this distribution point. |
void |
setReasonFlag(CRLReason reason) Sets whether or not the distribution point has revocations for the given reason flag. |
void |
setReasonFlags(CRLReason[] crlReasons) |
void |
writeExternal(java.io.ObjectOutput os) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CRLDistPoint()
public CRLDistPoint(CRLDistPointName distPointName)
CRLDistPoint
with the given GeneralName
.public CRLDistPoint(GeneralName crlIssuerName)
CRLDistPoint
with the given general name (relative to the CRL issuer's name).public CRLDistPoint(java.io.InputStream is) throws java.io.IOException
CRLDistPoint
by reading its encoded value from the given input stream.
java.io.IOException
Method Detail |
---|
public void setDistPointName(CRLDistPointName distPointName)
public CRLDistPointName getDistPointName()
CRLDistPointName
or null
if none is defined.public boolean hasReasonFlag(CRLReason reason)
If no reason flags have been set, the distribution point supports all reason codes, and hasReasonFlag
will return true
for all codes.
reason
- the CRL Reason flag to test, defined as constants in the CRLReason
class.true
if the given reason code is supported by this distribution point, otherwise false
.setReasonFlag(oracle.security.crypto.cert.CRLReason)
public void setReasonFlag(CRLReason reason)
reason
- the CRL Reason flag to test, defined as constants in the CRLReason
class.hasReasonFlag(oracle.security.crypto.cert.CRLReason)
public void setReasonFlags(CRLReason[] crlReasons)
public void clearReasonFlag(CRLReason reason)
public void clearAllReasonFlags()
public void addCRLIssuerName(GeneralName crlIssuerName)
@Deprecated
public java.util.Vector<GeneralName> getCRLIssuerNames()
Vector
of GeneralName
relative to the CRL issuer, or null
if none is defined.public java.util.ArrayList<GeneralName> getCRLIssuerNamesAsList()
ArrayList
of GeneralName
relative to the CRL issuer, or null
if none is defined.public void input(java.io.InputStream is) throws java.io.IOException
input
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
output
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public int length()
length
in interface oracle.security.crypto.util.Streamable
public void writeExternal(java.io.ObjectOutput os) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput is) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10674-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |