public class ServiceLocatorExtension extends X509Extension
id_netscape_ce, id_netscape_ce_type, id_set_ce, id_set_ce_type, isDecoded| Constructor and Description |
|---|
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,
AuthorityInfoAccess access)
Creates a new extension with the given issuer and access descriptions.
|
ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer,
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.
|
| Modifier and Type | Method and Description |
|---|---|
javax.security.auth.x500.X500Principal |
getIssuer()
Gets the issuer's name.
|
AuthorityInfoAccess |
getLocatorAccessInfo()
Gets the locator access info.
|
void |
setLocatorAccessInfo(AuthorityInfoAccess access)
Sets the locator access info.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
getCritical, getType, getValue, input, inputInstance, isRecognized, length, output, readExternal, setCritical, setValue, writeExternalpublic ServiceLocatorExtension()
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.
public ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer)
issuer - The issuer's X500Name.
Note the change in the method signature
Previouslypublic ServiceLocatorExtension (X500Name)
Now public ServiceLocatorExtension (X500Principal )
public ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer,
boolean critical)
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 )
public ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer,
AuthorityInfoAccess access)
issuer - The issuer's X500Name.access - An AuthorityInfoAcess.
Note the change in the method signature
Previouslypublic ServiceLocatorExtension (X500Name , AuthorityInfoAccess )
Now public ServiceLocatorExtension (X500Principal, AuthorityInfoAccess )
public ServiceLocatorExtension(javax.security.auth.x500.X500Principal issuer,
AuthorityInfoAccess access,
boolean critical)
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 )
public ServiceLocatorExtension(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic javax.security.auth.x500.X500Principal getIssuer()
public void setLocatorAccessInfo(AuthorityInfoAccess access)
access - An AuthorityInfoAccess.public AuthorityInfoAccess getLocatorAccessInfo()
AuthorityInfoAccess, or null
if none is defined.public java.lang.String toString()
X509ExtensiontoString in class X509Extension