public class AuthorityInfoAccess
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object, java.io.Externalizable
| Constructor and Description |
|---|
AuthorityInfoAccess()
Creates a new empty
AuthorityInfoAccess. |
AuthorityInfoAccess(java.io.InputStream is)
Creates a new
AuthorityInfoAccess from the given input stream. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Enumeration<oracle.security.crypto.asn1.ASN1ObjectID> |
accessMethods()
Deprecated.
|
void |
addAccessDescription(oracle.security.crypto.asn1.ASN1ObjectID method, GeneralName location)
Add the given access description to this
AuthorityInfoAccess. |
java.util.Vector<GeneralName> |
getAccessDescriptions(oracle.security.crypto.asn1.ASN1ObjectID method)
Deprecated.
|
java.util.ArrayList<GeneralName> |
getAccessDescriptionsAsList(oracle.security.crypto.asn1.ASN1ObjectID method) |
boolean |
hasAccessMethod(oracle.security.crypto.asn1.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) |
void |
readExternal(java.io.ObjectInput is) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput os) |
public AuthorityInfoAccess()
AuthorityInfoAccess.
public AuthorityInfoAccess(java.io.InputStream is)
throws java.io.IOException
AuthorityInfoAccess from the given input stream.java.io.IOException
public void addAccessDescription(oracle.security.crypto.asn1.ASN1ObjectID method,
GeneralName location)
AuthorityInfoAccess.method - The OID of the access method.location - A GeneralName describing the access location.@Deprecated public java.util.Enumeration<oracle.security.crypto.asn1.ASN1ObjectID> accessMethods()
Enumeration of ASN1ObjectIDs.public java.util.Vector<GeneralName> getAccessDescriptions(oracle.security.crypto.asn1.ASN1ObjectID method)
getAccessDescriptionsAsList(ASN1ObjectID)method - The OID of the access method.Vector of GeneralName, or null if no locations are defined for the method.public java.util.ArrayList<GeneralName> getAccessDescriptionsAsList(oracle.security.crypto.asn1.ASN1ObjectID method)
public boolean hasAccessMethod(oracle.security.crypto.asn1.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()
toString in class java.lang.Object
public void input(java.io.InputStream is)
throws java.io.IOException
AuthorityInfoAccess from the given input stream.input in interface oracle.security.crypto.util.Streamablejava.io.IOException
public void output(java.io.OutputStream os)
throws java.io.IOException
output in interface oracle.security.crypto.util.Streamablejava.io.IOExceptionpublic 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.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput is)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException