Skip navigation links

Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10674-04


oracle.security.crypto.cert
Class AuthorityInfoAccess

java.lang.Object
  extended by oracle.security.crypto.cert.AuthorityInfoAccess

All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class AuthorityInfoAccess
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object, java.io.Externalizable

The AuthorityInfoAccessSyntax structure from RFC 2459, used in the certificate extension AuthorityInfoAccess and in the OCSP (RFC 2560) extension ServiceLocator.

See Also:
Serialized Form

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<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. Use getAccessDescriptionsAsList(ASN1ObjectID)
 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)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

AuthorityInfoAccess

public AuthorityInfoAccess()
Creates a new empty AuthorityInfoAccess.

AuthorityInfoAccess

public AuthorityInfoAccess(java.io.InputStream is)
                    throws java.io.IOException
Creates a new AuthorityInfoAccess from the given input stream.
Throws:
java.io.IOException

Method Detail

addAccessDescription

public void addAccessDescription(oracle.security.crypto.asn1.ASN1ObjectID method,
                                 GeneralName location)
Add the given access description to this AuthorityInfoAccess.
Parameters:
method - The OID of the access method.
location - A GeneralName describing the access location.

accessMethods

@Deprecated
public java.util.Enumeration<oracle.security.crypto.asn1.ASN1ObjectID> accessMethods()
Deprecated. 
Gets the defined access method OIDs.
Returns:
An Enumeration of ASN1ObjectIDs.

getAccessDescriptions

public java.util.Vector<GeneralName> getAccessDescriptions(oracle.security.crypto.asn1.ASN1ObjectID method)
Deprecated. Use getAccessDescriptionsAsList(ASN1ObjectID)
Get the access location(s) for the given access method.
Parameters:
method - The OID of the access method.
Returns:
A Vector of GeneralName, or null if no locations are defined for the method.

getAccessDescriptionsAsList

public java.util.ArrayList<GeneralName> getAccessDescriptionsAsList(oracle.security.crypto.asn1.ASN1ObjectID method)

hasAccessMethod

public 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.

methodCount

public int methodCount()
Returns the number of access methods defined in this AuthorityAccessInfo.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Reads an AuthorityInfoAccess from the given input stream.
Specified by:
input in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Specified by:
output in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

length

public int length()
Specified by:
length in interface oracle.security.crypto.util.Streamable

writeExternal

public void writeExternal(java.io.ObjectOutput os)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput is)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

Skip navigation links

Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10674-04


Copyright © 2005, 2011 , Oracle. All rights reserved.