|
Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.AuthorityInfoAccess
The AuthorityInfoAccessSyntax structure from RFC 2459, used in the certificate extension AuthorityInfoAccess and in the OCSP (RFC 2560) extension ServiceLocator.
Constructor Summary | |
AuthorityInfoAccess() Creates a new empty AuthorityInfoAccess . |
|
AuthorityInfoAccess(java.io.InputStream is) Creates a new AuthorityInfoAccess from the given input stream. |
Method Summary | |
java.util.Enumeration |
accessMethods() Gets the defined access method OIDs. |
void |
addAccessDescription(ASN1ObjectID method, GeneralName location) Add the given access description to this AuthorityInfoAccess . |
java.util.Vector |
getAccessDescriptions(ASN1ObjectID method) Get the access location(s) for the given access method. |
boolean |
hasAccessMethod(ASN1ObjectID method) Returns true if one or more access descriptions are defined for the given method OID, otherwise returns false . |
void |
input(java.io.InputStream is) Reads an AuthorityInfoAccess from the given input stream. |
int |
length() |
int |
methodCount() Returns the number of access methods defined in this AuthorityAccessInfo . |
void |
output(java.io.OutputStream os) |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AuthorityInfoAccess()
AuthorityInfoAccess
.public AuthorityInfoAccess(java.io.InputStream is) throws java.io.IOException
AuthorityInfoAccess
from the given input stream.Method Detail |
public void addAccessDescription(ASN1ObjectID method, GeneralName location)
AuthorityInfoAccess
.method
- The OID of the access method.location
- A GeneralName
describing the access location.public java.util.Enumeration accessMethods()
Enumeration
of ASN1ObjectID
s.public java.util.Vector getAccessDescriptions(ASN1ObjectID method)
method
- The OID of the access method.Vector
of GeneralName
s, or null
if no locations are defined for the method.public boolean hasAccessMethod(ASN1ObjectID method)
true
if one or more access descriptions are defined for the given method OID, otherwise returns false
.public int methodCount()
AuthorityAccessInfo
.public java.lang.String toString()
public void input(java.io.InputStream is) throws java.io.IOException
AuthorityInfoAccess
from the given input stream.java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public int length()
|
Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |