| java.lang.Object java.security.KeyStoreSpi org.bouncycastle.jce.provider.JDKPKCS12KeyStore
Method Summary | |
protected byte[] | cryptData(boolean forEncryption, AlgorithmIdentifier algId, char[] password, boolean wrongPKCS12Zero, byte[] data) | public Enumeration | engineAliases() | public boolean | engineContainsAlias(String alias) | public void | engineDeleteEntry(String alias) this is quite complete - we should follow up on the chain, a bit
tricky if a certificate appears in more than one chain... | public Certificate | engineGetCertificate(String alias) | public String | engineGetCertificateAlias(Certificate cert) | public Certificate[] | engineGetCertificateChain(String alias) | public Date | engineGetCreationDate(String alias) | public Key | engineGetKey(String alias, char[] password) | public boolean | engineIsCertificateEntry(String alias) | public boolean | engineIsKeyEntry(String alias) | public void | engineLoad(InputStream stream, char[] password) | public void | engineSetCertificateEntry(String alias, Certificate cert) | public void | engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) | public void | engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) | public int | engineSize() | public void | engineStore(OutputStream stream, char[] password) | public void | setRandom(SecureRandom rand) | protected PrivateKey | unwrapKey(AlgorithmIdentifier algId, byte[] data, char[] password, boolean wrongPKCS12Zero) | protected byte[] | wrapKey(String algorithm, Key key, PKCS12PBEParams pbeParams, char[] password) |
CERTIFICATE | final static int CERTIFICATE(Code) | | |
KEY_PRIVATE | final static int KEY_PRIVATE(Code) | | |
KEY_PUBLIC | final static int KEY_PUBLIC(Code) | | |
KEY_SECRET | final static int KEY_SECRET(Code) | | |
NULL | final static int NULL(Code) | | |
SEALED | final static int SEALED(Code) | | |
SECRET | final static int SECRET(Code) | | |
JDKPKCS12KeyStore | public JDKPKCS12KeyStore(String provider)(Code) | | |
engineContainsAlias | public boolean engineContainsAlias(String alias)(Code) | | |
engineDeleteEntry | public void engineDeleteEntry(String alias) throws KeyStoreException(Code) | | this is quite complete - we should follow up on the chain, a bit
tricky if a certificate appears in more than one chain...
|
engineGetCertificate | public Certificate engineGetCertificate(String alias)(Code) | | simply return the cert for the private key
|
engineIsCertificateEntry | public boolean engineIsCertificateEntry(String alias)(Code) | | |
engineIsKeyEntry | public boolean engineIsKeyEntry(String alias)(Code) | | |
engineSize | public int engineSize()(Code) | | |
Methods inherited from java.security.KeyStoreSpi | abstract public Enumeration<String> engineAliases()(Code)(Java Doc) abstract public boolean engineContainsAlias(String alias)(Code)(Java Doc) abstract public void engineDeleteEntry(String alias) throws KeyStoreException(Code)(Java Doc) public boolean engineEntryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass)(Code)(Java Doc) abstract public Certificate engineGetCertificate(String alias)(Code)(Java Doc) abstract public String engineGetCertificateAlias(Certificate cert)(Code)(Java Doc) abstract public Certificate[] engineGetCertificateChain(String alias)(Code)(Java Doc) abstract public Date engineGetCreationDate(String alias)(Code)(Java Doc) public KeyStore.Entry engineGetEntry(String alias, KeyStore.ProtectionParameter protParam) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableEntryException(Code)(Java Doc) abstract public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, UnrecoverableKeyException(Code)(Java Doc) abstract public boolean engineIsCertificateEntry(String alias)(Code)(Java Doc) abstract public boolean engineIsKeyEntry(String alias)(Code)(Java Doc) abstract public void engineLoad(InputStream stream, char[] password) throws IOException, NoSuchAlgorithmException, CertificateException(Code)(Java Doc) public void engineLoad(KeyStore.LoadStoreParameter param) throws IOException, NoSuchAlgorithmException, CertificateException(Code)(Java Doc) abstract public void engineSetCertificateEntry(String alias, Certificate cert) throws KeyStoreException(Code)(Java Doc) public void engineSetEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam) throws KeyStoreException(Code)(Java Doc) abstract public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException(Code)(Java Doc) abstract public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain) throws KeyStoreException(Code)(Java Doc) abstract public int engineSize()(Code)(Java Doc) abstract public void engineStore(OutputStream stream, char[] password) throws IOException, NoSuchAlgorithmException, CertificateException(Code)(Java Doc) public void engineStore(KeyStore.LoadStoreParameter param) throws IOException, NoSuchAlgorithmException, CertificateException(Code)(Java Doc)
|
|
|