|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.cardon.cryptoapi.CAPIStore
public class CAPIStore
High level class for the CryptoAPI HCERTSTORE certificate store handle.
Constructor Summary | |
---|---|
CAPIStore(int address)
Creates a new instance of CAPIStore, with the given CryptoAPI HCERTSTORE store handle. |
Method Summary | |
---|---|
java.util.Iterator<CAPICertificate> |
iterator()
Iterates all the certificates in this store. |
java.util.Iterator<CAPICertificate> |
iteratorWithPrivateKey()
|
static CAPIStore |
openCAStore()
Opens the 'CA' store. |
static CAPIStore |
openMyStore()
Opens the 'My' store. |
static CAPIStore |
openRootStore()
Opens the 'Root' store. |
static CAPIStore |
openStore(int lpszStoreProvider,
int dwMsgAndCertEncodingType,
int hCryptProv,
int dwFlags,
int pvPara)
Open a store with the given parameters (see CryptoAPI documentation in MSDN). |
static CAPIStore |
openStore(java.lang.String storeName)
Opens a store with the given name (CERT_STORE_PROV_SYSTEM and CERT_SYSTEM_STORE_CURRENT_USER. |
static CAPIStore |
openTrustStore()
Opens the 'Trust' store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CAPIStore(int address)
Method Detail |
---|
public java.util.Iterator<CAPICertificate> iterator()
iterator
in interface java.lang.Iterable<CAPICertificate>
public java.util.Iterator<CAPICertificate> iteratorWithPrivateKey()
public static CAPIStore openStore(int lpszStoreProvider, int dwMsgAndCertEncodingType, int hCryptProv, int dwFlags, int pvPara) throws CryptoAPIException
CryptoAPIException
public static CAPIStore openStore(java.lang.String storeName) throws CryptoAPIException
CryptoAPIException
public static CAPIStore openMyStore() throws CryptoAPIException
CryptoAPIException
public static CAPIStore openRootStore() throws CryptoAPIException
CryptoAPIException
public static CAPIStore openCAStore() throws CryptoAPIException
CryptoAPIException
public static CAPIStore openTrustStore() throws CryptoAPIException
CryptoAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |