For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.keyring
Class GnuKeyring

java.lang.Object
  extended byjava.security.KeyStoreSpi
      extended bygnu.crypto.jce.keyring.GnuKeyring

public class GnuKeyring
extends java.security.KeyStoreSpi


Constructor Summary
GnuKeyring()
           
 
Method Summary
 java.util.Enumeration engineAliases()
           
 boolean engineContainsAlias(java.lang.String alias)
           
 void engineDeleteEntry(java.lang.String alias)
           
 java.security.cert.Certificate engineGetCertificate(java.lang.String alias)
           
 java.lang.String engineGetCertificateAlias(java.security.cert.Certificate cert)
           
 java.security.cert.Certificate[] engineGetCertificateChain(java.lang.String alias)
           
 java.util.Date engineGetCreationDate(java.lang.String alias)
           
 java.security.Key engineGetKey(java.lang.String alias, char[] password)
           
 boolean engineIsCertificateEntry(java.lang.String alias)
           
 boolean engineIsKeyEntry(java.lang.String alias)
           
 void engineLoad(java.io.InputStream in, char[] password)
           
 void engineSetCertificateEntry(java.lang.String alias, java.security.cert.Certificate cert)
           
 void engineSetKeyEntry(java.lang.String alias, byte[] key, java.security.cert.Certificate[] chain)
           
 void engineSetKeyEntry(java.lang.String alias, java.security.Key key, char[] password, java.security.cert.Certificate[] chain)
           
 int engineSize()
           
 void engineStore(java.io.OutputStream out, char[] password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnuKeyring

public GnuKeyring()
Method Detail

engineAliases

public java.util.Enumeration engineAliases()

engineContainsAlias

public boolean engineContainsAlias(java.lang.String alias)

engineDeleteEntry

public void engineDeleteEntry(java.lang.String alias)

engineGetCertificate

public java.security.cert.Certificate engineGetCertificate(java.lang.String alias)

engineGetCertificateAlias

public java.lang.String engineGetCertificateAlias(java.security.cert.Certificate cert)

engineSetCertificateEntry

public void engineSetCertificateEntry(java.lang.String alias,
                                      java.security.cert.Certificate cert)

engineGetCertificateChain

public java.security.cert.Certificate[] engineGetCertificateChain(java.lang.String alias)

engineGetCreationDate

public java.util.Date engineGetCreationDate(java.lang.String alias)

engineGetKey

public java.security.Key engineGetKey(java.lang.String alias,
                                      char[] password)
                               throws java.security.UnrecoverableKeyException
Throws:
java.security.UnrecoverableKeyException

engineSetKeyEntry

public void engineSetKeyEntry(java.lang.String alias,
                              java.security.Key key,
                              char[] password,
                              java.security.cert.Certificate[] chain)
                       throws java.security.KeyStoreException
Throws:
java.security.KeyStoreException

engineSetKeyEntry

public void engineSetKeyEntry(java.lang.String alias,
                              byte[] key,
                              java.security.cert.Certificate[] chain)
                       throws java.security.KeyStoreException
Throws:
java.security.KeyStoreException

engineIsCertificateEntry

public boolean engineIsCertificateEntry(java.lang.String alias)

engineIsKeyEntry

public boolean engineIsKeyEntry(java.lang.String alias)

engineLoad

public void engineLoad(java.io.InputStream in,
                       char[] password)
                throws java.io.IOException
Throws:
java.io.IOException

engineStore

public void engineStore(java.io.OutputStream out,
                        char[] password)
                 throws java.io.IOException
Throws:
java.io.IOException

engineSize

public int engineSize()

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.