public class Store
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
| Modifier and Type | Class and Description |
|---|---|
static interface |
Store.CertificateCRLFunction |
static interface |
Store.CheckCRLFunction |
static interface |
Store.CheckIssuedFunction |
static interface |
Store.CheckRevocationFunction |
static interface |
Store.CleanupFunction |
static interface |
Store.GetCRLFunction |
static interface |
Store.GetIssuerFunction |
static interface |
Store.VerifyCallbackFunction |
static interface |
Store.VerifyFunction |
| Modifier and Type | Field and Description |
|---|---|
int |
cache |
Store.CertificateCRLFunction |
certificateCRL |
java.util.List<Lookup> |
certificateMethods |
Store.CheckCRLFunction |
checkCRL |
Store.CheckIssuedFunction |
checkIssued |
Store.CheckRevocationFunction |
checkRevocation |
Store.CleanupFunction |
cleanup |
java.util.List<java.lang.Object> |
extraData |
Store.GetCRLFunction |
getCRL |
Store.GetIssuerFunction |
getIssuer |
java.util.List<X509Object> |
objs |
VerifyParameter |
param |
int |
references |
Store.VerifyFunction |
verify |
Store.VerifyCallbackFunction |
verifyCallback |
| Constructor and Description |
|---|
Store()
c: X509_STORE_new
|
| Modifier and Type | Method and Description |
|---|---|
int |
addCertificate(java.security.cert.X509Certificate x)
c: X509_STORE_add_cert
|
int |
addCRL(java.security.cert.CRL x)
c: X509_STORE_add_crl
|
Lookup |
addLookup(LookupMethod m)
c: X509_STORE_add_lookup
|
void |
checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType) |
void |
checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType) |
void |
free()
c: X509_STORE_free
|
java.security.cert.X509Certificate[] |
getAcceptedIssuers() |
java.lang.Object |
getExtraData(int idx)
c: X509_get_ex_data
|
int |
loadLocations(java.lang.String file,
java.lang.String path)
c: X509_STORE_load_locations
|
int |
setDefaultPaths()
c: X509_STORE_set_default_paths
|
int |
setDepth(int depth)
c: X509_STORE_set_depth
|
int |
setExtraData(int idx,
java.lang.Object data)
c: X509_set_ex_data
|
int |
setFlags(long flags)
c: X509_STORE_set_flags
|
int |
setParam(VerifyParameter pm)
c: X509_STORE_set1_param
|
int |
setPurpose(int purpose)
c: X509_STORE_set_purpose
|
int |
setTrust(int trust)
c: X509_STORE_set_trust
|
void |
setVerifyCallbackFunction(Store.VerifyCallbackFunction func)
c: X509_STORE_set_verify_cb_func
|
void |
setVerifyFunction(Store.VerifyFunction func)
c: X509_STORE_set_verify_func
|
public int cache
public java.util.List<X509Object> objs
public java.util.List<Lookup> certificateMethods
public VerifyParameter param
public Store.VerifyFunction verify
public Store.VerifyCallbackFunction verifyCallback
public Store.GetIssuerFunction getIssuer
public Store.CheckIssuedFunction checkIssued
public Store.CheckRevocationFunction checkRevocation
public Store.GetCRLFunction getCRL
public Store.CheckCRLFunction checkCRL
public Store.CertificateCRLFunction certificateCRL
public Store.CleanupFunction cleanup
public java.util.List<java.lang.Object> extraData
public int references
public void setVerifyFunction(Store.VerifyFunction func)
public void setVerifyCallbackFunction(Store.VerifyCallbackFunction func)
public void free()
throws java.lang.Exception
java.lang.Exceptionpublic int setExtraData(int idx,
java.lang.Object data)
public java.lang.Object getExtraData(int idx)
public int setDepth(int depth)
public int setFlags(long flags)
public int setPurpose(int purpose)
public int setTrust(int trust)
public int setParam(VerifyParameter pm)
public Lookup addLookup(LookupMethod m) throws java.lang.Exception
java.lang.Exceptionpublic int addCertificate(java.security.cert.X509Certificate x)
public int addCRL(java.security.cert.CRL x)
public int loadLocations(java.lang.String file,
java.lang.String path)
throws java.lang.Exception
java.lang.Exceptionpublic int setDefaultPaths()
throws java.lang.Exception
java.lang.Exceptionpublic void checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
checkClientTrusted in interface javax.net.ssl.X509TrustManagerpublic void checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
checkServerTrusted in interface javax.net.ssl.X509TrustManagerpublic java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface javax.net.ssl.X509TrustManagerCopyright © 2002-2009 JRuby Team. All Rights Reserved.