public static class MPSingleConnectionProvider.MyProxyLogonConnection extends Object implements MyProxyConnectable
Constructor and Description |
---|
MyProxyLogonConnection(MyProxyLogon myProxyLogon) |
Modifier and Type | Method and Description |
---|---|
Identifiable |
clone() |
void |
close()
Ends the connection to the MyProxy server cleanly
|
LinkedList<X509Certificate> |
getCerts(byte[] pkcs10CertRequest) |
LinkedList<X509Certificate> |
getCerts(MyPKCS10CertRequest pkcs10CertRequest)
Retrieves a collection of certificates.
|
Identifier |
getIdentifier()
Get the identifer
|
String |
getIdentifierString()
Convenience call to cast the identifier to a string.
|
MyProxyLogon |
getMyProxyLogon() |
void |
open()
Establish a connection to a Myproxy server.
|
void |
setIdentifier(Identifier identifier)
Set the identifier.
|
void |
setLifetime(long certLifetime) |
String |
toString() |
public MyProxyLogonConnection(MyProxyLogon myProxyLogon)
public void setLifetime(long certLifetime)
setLifetime
in interface MyProxyConnectable
public MyProxyLogon getMyProxyLogon()
public void close()
MyProxyConnectable
close
in interface MyProxyConnectable
public void open()
MyProxyConnectable
open
in interface MyProxyConnectable
public LinkedList<X509Certificate> getCerts(byte[] pkcs10CertRequest)
getCerts
in interface MyProxyConnectable
public LinkedList<X509Certificate> getCerts(MyPKCS10CertRequest pkcs10CertRequest)
MyProxyConnectable
getCerts
in interface MyProxyConnectable
public Identifier getIdentifier()
Identifiable
getIdentifier
in interface Identifiable
public String getIdentifierString()
Identifiable
getIdentifierString
in interface Identifiable
public void setIdentifier(Identifier identifier)
Identifiable
setIdentifier
in interface Identifiable
public Identifiable clone()
clone
in interface Identifiable
clone
in class Object
Copyright © 2019. All Rights Reserved.