Home » geronimo-2.2-source-release » org.apache.geronimo.console.core.keystore » [javadoc | source]
org.apache.geronimo.console.core.keystore
public class: KeyStoreGBean [javadoc | source]
java.lang.Object
   org.apache.geronimo.console.core.keystore.KeyStoreGBean

All Implemented Interfaces:
    GBeanLifecycle

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary
public static final  GBeanInfo GBEAN_INFO     
Constructor:
 public KeyStoreGBean() 
Method from org.apache.geronimo.console.core.keystore.KeyStoreGBean Summary:
deleteEntry,   doFail,   doStart,   doStop,   generateCSR,   generateCSR,   generateCert,   generateKeyPair,   getCertificateChain,   getGBeanInfo,   getKeyEntryInfo,   getKeyPassword,   getKeyStoreEntries,   getKeyStoreLocation,   getKeyStorePassword,   getKeyStoreProvider,   getKeyStoreSize,   getKeyStoreType,   getServerInfo,   importPKCS7Certificate,   importPKCS7Certificate,   importTrustedX509Certificate,   saveKeyStore,   setKeyPassword,   setKeyStoreLocation,   setKeyStorePassword,   setKeyStoreProvider,   setKeyStoreType,   setServerInfo
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.console.core.keystore.KeyStoreGBean Detail:
 public  void deleteEntry(String alias) throws KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException 
 public  void doFail() 
 public  void doStart() throws WaitingException, Exception 
 public  void doStop() throws WaitingException, Exception 
 public String generateCSR(String alias) throws Exception 
 public String generateCSR(X509Certificate cert,
    PrivateKey signingKey) throws Exception 
 public X509Certificate generateCert(PublicKey publicKey,
    PrivateKey privateKey,
    String sigalg,
    int validity,
    String cn,
    String ou,
    String o,
    String l,
    String st,
    String c) throws SignatureException, InvalidKeyException 
 public  void generateKeyPair(String alias,
    String keyalg,
    Integer keysize,
    String sigalg,
    Integer validity,
    String cn,
    String ou,
    String o,
    String l,
    String st,
    String c) throws NoSuchAlgorithmException, KeyStoreException, SignatureException, InvalidKeyException, CertificateException, IOException 
 public Certificate[] getCertificateChain(String alias) throws KeyStoreException 
 public static GBeanInfo getGBeanInfo() 
 public KeyEntryInfo getKeyEntryInfo(String alias) throws KeyStoreException 
 public String getKeyPassword() 
 public List getKeyStoreEntries() throws KeyStoreException 
 public String getKeyStoreLocation() 
 public String getKeyStorePassword() 
 public String getKeyStoreProvider() 
 public int getKeyStoreSize() throws KeyStoreException 
 public String getKeyStoreType() 
 public ServerInfo getServerInfo() 
 public  void importPKCS7Certificate(String alias,
    String certbuf) throws CertificateException, NoSuchProviderException, KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException, IOException 
 public  void importPKCS7Certificate(String alias,
    InputStream is) throws CertificateException, NoSuchProviderException, KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException, IOException 
 public  void importTrustedX509Certificate(String alias,
    String certfile) throws FileNotFoundException, CertificateException, KeyStoreException, IOException, NoSuchAlgorithmException, NoSuchProviderException 
 public  void saveKeyStore() throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException 
 public  void setKeyPassword(String keyPassword) 
 public  void setKeyStoreLocation(String keyStoreLocation) 
 public  void setKeyStorePassword(String keyStorePassword) 
 public  void setKeyStoreProvider(String keyStoreProvider) 
 public  void setKeyStoreType(String keyStoreType) 
 public  void setServerInfo(ServerInfo serverInfo)