public class Lookup
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
init |
LookupMethod |
method |
java.lang.Object |
methodData |
boolean |
skip |
Store |
store |
| Constructor and Description |
|---|
Lookup(LookupMethod method)
c: X509_LOOKUP_new
|
| Modifier and Type | Method and Description |
|---|---|
int |
addDir(CertificateHashDir.Dir dir)
c: X509_LOOKUP_add_dir
|
int |
byAlias(int type,
java.lang.String str,
X509Object[] ret)
c: X509_LOOKUP_by_alias
|
int |
byFingerprint(int type,
java.lang.String bytes,
X509Object[] ret)
c: X509_LOOKUP_by_fingerprint
|
int |
byIssuerSerialNumber(int type,
Name name,
java.math.BigInteger serial,
X509Object[] ret)
c: X509_LOOKUP_by_issuer_serial
|
int |
bySubject(int type,
Name name,
X509Object[] ret)
c: X509_LOOKUP_by_subject
|
int |
control(int cmd,
java.lang.String argc,
long argl,
java.lang.String[] ret)
c: X509_LOOKUP_ctrl
|
static LookupMethod |
fileLookup()
c: X509_LOOKUP_file
|
void |
free()
c: X509_LOOKUP_free
|
static LookupMethod |
hashDirLookup()
c: X509_LOOKUP_hash_dir
|
int |
init()
c: X509_LOOKUP_init
|
int |
loadCertificateFile(java.lang.String file,
int type)
c: X509_LOOKUP_load_cert_file
|
int |
loadCertificateOrCRLFile(java.lang.String file,
int type)
c: X509_LOOKUP_load_cert_crl_file
|
int |
loadCRLFile(java.lang.String file,
int type)
c: X509_LOOKUP_load_crl_file
|
int |
loadDefaultJavaCACertsFile() |
int |
loadFile(CertificateFile.Path file)
c: X509_LOOKUP_load_file
|
int |
shutdown()
c: X509_LOOKUP_shutdown
|
public boolean init
public boolean skip
public LookupMethod method
public java.lang.Object methodData
public Store store
public Lookup(LookupMethod method) throws java.lang.Exception
java.lang.Exceptionpublic int loadFile(CertificateFile.Path file) throws java.lang.Exception
java.lang.Exceptionpublic int addDir(CertificateHashDir.Dir dir) throws java.lang.Exception
java.lang.Exceptionpublic static LookupMethod hashDirLookup()
public static LookupMethod fileLookup()
public int control(int cmd,
java.lang.String argc,
long argl,
java.lang.String[] ret)
throws java.lang.Exception
java.lang.Exceptionpublic int loadCertificateFile(java.lang.String file,
int type)
throws java.lang.Exception
java.lang.Exceptionpublic int loadCRLFile(java.lang.String file,
int type)
throws java.lang.Exception
java.lang.Exceptionpublic int loadCertificateOrCRLFile(java.lang.String file,
int type)
throws java.lang.Exception
java.lang.Exceptionpublic int loadDefaultJavaCACertsFile()
throws java.lang.Exception
java.lang.Exceptionpublic void free()
throws java.lang.Exception
java.lang.Exceptionpublic int init()
throws java.lang.Exception
java.lang.Exceptionpublic int bySubject(int type,
Name name,
X509Object[] ret)
throws java.lang.Exception
java.lang.Exceptionpublic int byIssuerSerialNumber(int type,
Name name,
java.math.BigInteger serial,
X509Object[] ret)
throws java.lang.Exception
java.lang.Exceptionpublic int byFingerprint(int type,
java.lang.String bytes,
X509Object[] ret)
throws java.lang.Exception
java.lang.Exceptionpublic int byAlias(int type,
java.lang.String str,
X509Object[] ret)
throws java.lang.Exception
java.lang.Exceptionpublic int shutdown()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2002-2009 JRuby Team. All Rights Reserved.