public class HostCertificateReader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HostCertificateReader.ExpiredCredentialsException
Host credential already expired exception
|
static class |
HostCertificateReader.IndefiniteLifetimeCredentialsException
Indefinite lifetime host credentials exception
|
| Constructor and Description |
|---|
HostCertificateReader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHostCertificateCA()
Gets the CA of the host credentials of the GHN
|
static String |
getHostCertificateDN()
Gets the DN of the host credentials of the GHN
|
static int |
getHostCertificateLifetime()
Gets the remaining lifetime in seconds of the host credentials of the GHN
|
public static int getHostCertificateLifetime()
throws org.globus.wsrf.security.SecurityException,
GSSException,
HostCertificateReader.ExpiredCredentialsException,
HostCertificateReader.IndefiniteLifetimeCredentialsException
org.globus.wsrf.security.SecurityException - if it is impossible to access the host credentialsGSSException - if it is impossible to detect the host credentialsHostCertificateReader.ExpiredCredentialsException - if the credentials are already expiredHostCertificateReader.IndefiniteLifetimeCredentialsException - if the credentials will never expireIOExceptionpublic static String getHostCertificateDN() throws org.globus.wsrf.security.SecurityException, GSSException, HostCertificateReader.ExpiredCredentialsException
org.globus.wsrf.security.SecurityException - if it is impossible to access the host credentialsGSSException - if it is impossible to detect the host credentialsHostCertificateReader.ExpiredCredentialsException - if the credentials are already expiredpublic static String getHostCertificateCA() throws org.globus.wsrf.security.SecurityException, GSSException, Exception
org.globus.wsrf.security.SecurityException - if it is impossible to access the host credentialsGSSException - if it is impossible to detect the host credentialsHostCertificateReader.ExpiredCredentialsException - if the credentials are already expiredExceptionCopyright © 2015. All Rights Reserved.