Skip navigation links

Oracle Security Developer Tools PKI SDK OCSP Java API Reference
11g (11.1.1)

E10673-02


oracle.security.crypto.ocsp
Class ServiceLocatorExtension

java.lang.Object
  extended by oracle.security.crypto.cert.X509Extension
      extended by oracle.security.crypto.ocsp.ServiceLocatorExtension

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

public class ServiceLocatorExtension
extends oracle.security.crypto.cert.X509Extension

Represents the ServiceLocatorExtension from RFC 2560.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.security.crypto.cert.X509Extension
id_netscape_ce, id_netscape_ce_type, id_set_ce, id_set_ce_type, isDecoded

 

Constructor Summary
ServiceLocatorExtension()
          Create a new extension with the appropriate OID type.
ServiceLocatorExtension(java.io.InputStream is)
           
ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer)
          Creates a new extension with the given issuer name.
ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer, oracle.security.crypto.cert.AuthorityInfoAccess access)
          Creates a new extension with the given issuer and access descriptions.
ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer, oracle.security.crypto.cert.AuthorityInfoAccess access, boolean critical)
          Creates a new extension with the given issuer and access descriptions.
ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer, boolean critical)
          Creates a new extension with the given issuer name.

 

Method Summary
 javax.security.auth.x500.X500Principal getIssuer()
          Gets the issuer's name.
 oracle.security.crypto.cert.AuthorityInfoAccess getLocatorAccessInfo()
          Gets the locator access info.
 void setLocatorAccessInfo(oracle.security.crypto.cert.AuthorityInfoAccess access)
          Sets the locator access info.
 java.lang.String toString()
          Returns a string representation of this object.

 

Methods inherited from class oracle.security.crypto.cert.X509Extension
getCritical, getType, getValue, input, inputInstance, isRecognized, length, output, readExternal, setCritical, setValue, writeExternal

 

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

 

Constructor Detail

ServiceLocatorExtension

public ServiceLocatorExtension()
Create a new extension with the appropriate OID type.

Note: An object created using this constructor may not be in a valid state. This constructor is intended primarily for use in conjunction with the X509Extension.input(java.io.InputStream) method.


ServiceLocatorExtension

public ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer)
Creates a new extension with the given issuer name. By default, this extension will be non-critical.
Parameters:
issuer - The issuer's X500Name.

Note the change in the method signature

Previouslypublic ServiceLocatorExtension (X500Name)

Now public ServiceLocatorExtension (X500Principal )


ServiceLocatorExtension

public ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer,
                               boolean critical)
Creates a new extension with the given issuer name.
Parameters:
issuer - The issuer's X500Name.
critical - true if this extension is critical, false otherwise.

Note the change in the method signature

Previouslypublic ServiceLocatorExtension (X500Name , boolean )

Now public ServiceLocatorExtension (X500Principal, boolean )


ServiceLocatorExtension

public ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer,
                               oracle.security.crypto.cert.AuthorityInfoAccess access)
Creates a new extension with the given issuer and access descriptions. By default, this extension will be non-critical.
Parameters:
issuer - The issuer's X500Name.
access - An AuthorityInfoAcess.

Note the change in the method signature

Previouslypublic ServiceLocatorExtension (X500Name , AuthorityInfoAccess )

Now public ServiceLocatorExtension (X500Principal, AuthorityInfoAccess )


ServiceLocatorExtension

public ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer,
                               oracle.security.crypto.cert.AuthorityInfoAccess access,
                               boolean critical)
Creates a new extension with the given issuer and access descriptions.
Parameters:
issuer - The issuer's X500Name.
access - An AuthorityInfoAcess.
critical - true if this extension is critical, false otherwise.

Note the change in the method signature

Previouslypublic ServiceLocatorExtension (X500Name , AuthorityInfoAccess, boolean )

Now public ServiceLocatorExtension (X500Principal, AuthorityInfoAccess , boolean )


ServiceLocatorExtension

public ServiceLocatorExtension(java.io.InputStream is)
                        throws java.io.IOException
Throws:
java.io.IOException

Method Detail

getIssuer

public javax.security.auth.x500.X500Principal getIssuer()
Gets the issuer's name.
Returns:
A X500Name representing the issuer's name.

setLocatorAccessInfo

public void setLocatorAccessInfo(oracle.security.crypto.cert.AuthorityInfoAccess access)
Sets the locator access info.
Parameters:
access - An AuthorityInfoAccess.

getLocatorAccessInfo

public oracle.security.crypto.cert.AuthorityInfoAccess getLocatorAccessInfo()
Gets the locator access info.
Returns:
An AuthorityInfoAccess, or null if none is defined.

toString

public java.lang.String toString()
Description copied from class: oracle.security.crypto.cert.X509Extension
Returns a string representation of this object.
Overrides:
toString in class oracle.security.crypto.cert.X509Extension
Returns:
a string representation

Skip navigation links

Oracle Security Developer Tools PKI SDK OCSP Java API Reference
11g (11.1.1)

E10673-02


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