public class X509Session extends Session
subject, subjectInfo
Modifier and Type | Method and Description |
---|---|
void |
checkValidity() |
void |
checkValidity(Date date) |
static X509Session |
create(String certificateLabel) |
static X509Session |
create(X509Certificate certificate,
PrivateKey key) |
static X509Session |
create(X509Certificate certificate,
PrivateKey key,
Session session) |
X509Certificate |
getCertificate() |
Object |
getHttpClient() |
MultipartRestClient |
getMultipartRestClient() |
PrivateKey |
getPrivateKey() |
void |
setHttpClient(Object httpClient) |
void |
setMultipartRestClient(MultipartRestClient multipartRestClient) |
getSubject, getSubjectInfo, setSubject, setSubjectInfo
public static X509Session create(String certificateLabel) throws IOException
IOException
public static X509Session create(X509Certificate certificate, PrivateKey key, Session session) throws InstantiationException, IllegalAccessException, InvocationTargetException, MarshallingException, IOException, NoSuchMethodException
public static X509Session create(X509Certificate certificate, PrivateKey key)
public void checkValidity() throws CertificateExpiredException, CertificateNotYetValidException
public void checkValidity(Date date) throws CertificateExpiredException, CertificateNotYetValidException
public X509Certificate getCertificate()
public PrivateKey getPrivateKey()
public void setHttpClient(Object httpClient)
public Object getHttpClient()
public void setMultipartRestClient(MultipartRestClient multipartRestClient)
public MultipartRestClient getMultipartRestClient()
Copyright © 2020. All Rights Reserved.