|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.io.SelfSignedCertificateHandle
public final class SelfSignedCertificateHandle
Registers a listener here to handle self-singed certificates.
Constructor Summary | |
---|---|
SelfSignedCertificateHandle()
|
Method Summary | |
---|---|
static void |
clearTrustedCertificates()
Removes all cached trusted certificates. |
static OnSelfSignedCertificateListener |
getOnSelfSignedCertificateListener()
Returns the user defined onSelfSignedCertificateListener. |
static boolean |
isTrustAllSigners()
Returns true if all signers are trusted. |
static void |
setOnSelfSignedCertificateListener(OnSelfSignedCertificateListener listener)
Sets the onSelfSignedCertificateListener to handle self-signed certificates. |
static void |
setTrustAllSigners(boolean trustAllSigner)
Sets to true to trust all signers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelfSignedCertificateHandle()
Method Detail |
---|
public static final OnSelfSignedCertificateListener getOnSelfSignedCertificateListener()
setOnSelfSignedCertificateListener(OnSelfSignedCertificateListener)
public static final void setOnSelfSignedCertificateListener(OnSelfSignedCertificateListener listener)
isTrustAllSigners()
method. The trusted
certificates will be cached in the VM. You can clear the cache by calling clearTrustedCertificates()
.
listener
- The onSelfSignedCertificateListener to set.public static final boolean isTrustAllSigners()
setOnSelfSignedCertificateListener(OnSelfSignedCertificateListener)
and always returns true;public static final void setTrustAllSigners(boolean trustAllSigner)
trustAllSigner
- Sets to true to trust all signers.isTrustAllSigners()
public static final void clearTrustedCertificates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |