⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ihardtokensessionlocal.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.hardtoken;/** * Local interface for HardTokenSession. */public interface IHardTokenSessionLocal   extends javax.ejb.EJBLocalObject{   /**    * Adds a hard token profile to the database.    * @throws HardTokenProfileExistsException if hard token already exists.    * @throws EJBException if a communication or other error occurs.    */   public void addHardTokenProfile( org.ejbca.core.model.log.Admin admin,java.lang.String name,org.ejbca.core.model.hardtoken.profiles.HardTokenProfile profile ) throws org.ejbca.core.model.hardtoken.HardTokenProfileExistsException;   /**    * Adds a hard token profile to the database. Used for importing and exporting profiles from xml-files.    * @throws HardTokenProfileExistsException if hard token already exists.    * @throws EJBException if a communication or other error occurs.    */   public void addHardTokenProfile( org.ejbca.core.model.log.Admin admin,int profileid,java.lang.String name,org.ejbca.core.model.hardtoken.profiles.HardTokenProfile profile ) throws org.ejbca.core.model.hardtoken.HardTokenProfileExistsException;   /**    * Updates hard token profile data    * @throws EJBException if a communication or other error occurs.    */   public void changeHardTokenProfile( org.ejbca.core.model.log.Admin admin,java.lang.String name,org.ejbca.core.model.hardtoken.profiles.HardTokenProfile profile ) ;   /**    * Adds a hard token profile with the same content as the original profile,    * @throws HardTokenProfileExistsException if hard token already exists.    * @throws EJBException if a communication or other error occurs.    */   public void cloneHardTokenProfile( org.ejbca.core.model.log.Admin admin,java.lang.String oldname,java.lang.String newname ) throws org.ejbca.core.model.hardtoken.HardTokenProfileExistsException;   /**    * Removes a hard token profile from the database.    * @throws EJBException if a communication or other error occurs.    */   public void removeHardTokenProfile( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ;   /**    * Renames a hard token profile    * @throws HardTokenProfileExistsException if hard token already exists.    * @throws EJBException if a communication or other error occurs.    */   public void renameHardTokenProfile( org.ejbca.core.model.log.Admin admin,java.lang.String oldname,java.lang.String newname ) throws org.ejbca.core.model.hardtoken.HardTokenProfileExistsException;   /**    * Retrives a Collection of id:s (Integer) to authorized profiles. Authorized hard token profiles are profiles containing only authorized certificate profiles and caids.    * @return Collection of id:s (Integer)    */   public java.util.Collection getAuthorizedHardTokenProfileIds( org.ejbca.core.model.log.Admin admin ) ;   /**    * Method creating a hashmap mapping profile id (Integer) to profile name (String).    */   public java.util.HashMap getHardTokenProfileIdToNameMap( org.ejbca.core.model.log.Admin admin ) ;   /**    * Retrives a named hard token profile.    */   public org.ejbca.core.model.hardtoken.profiles.HardTokenProfile getHardTokenProfile( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ;   /**    * Finds a hard token profile by id.    */   public org.ejbca.core.model.hardtoken.profiles.HardTokenProfile getHardTokenProfile( org.ejbca.core.model.log.Admin admin,int id ) ;   /**    * Help method used by hard token profile proxys to indicate if it is time to update it's profile data.    */   public int getHardTokenProfileUpdateCount( org.ejbca.core.model.log.Admin admin,int hardtokenprofileid ) ;   /**    * Returns a hard token profile id, given it's hard token profile name    * @return the id or 0 if hardtokenprofile cannot be found.    */   public int getHardTokenProfileId( org.ejbca.core.model.log.Admin admin,java.lang.String name ) ;   /**    * Returns a hard token profile name given its id.    * @return the name or null if id noesnt exists    * @throws EJBException if a communication or other error occurs.    */   public java.lang.String getHardTokenProfileName( org.ejbca.core.model.log.Admin admin,int id ) ;   /**    * Adds a hard token issuer to the database.    * @return false if hard token issuer already exists.    * @throws EJBException if a communication or other error occurs.    */   public boolean addHardTokenIssuer( org.ejbca.core.model.log.Admin admin,java.lang.String alias,int admingroupid,org.ejbca.core.model.hardtoken.HardTokenIssuer issuerdata ) ;   /**    * Updates hard token issuer data    * @return false if alias doesn't exists    * @throws EJBException if a communication or other error occurs.    */   public boolean changeHardTokenIssuer( org.ejbca.core.model.log.Admin admin,java.lang.String alias,org.ejbca.core.model.hardtoken.HardTokenIssuer issuerdata ) ;   /**    * Adds a hard token issuer with the same content as the original issuer,    * @return false if the new alias or certificatesn already exists.    * @throws EJBException if a communication or other error occurs.    */   public boolean cloneHardTokenIssuer( org.ejbca.core.model.log.Admin admin,java.lang.String oldalias,java.lang.String newalias,int admingroupid ) ;   /**    * Removes a hard token issuer from the database.    * @throws EJBException if a communication or other error occurs.    */   public void removeHardTokenIssuer( org.ejbca.core.model.log.Admin admin,java.lang.String alias ) ;   /**    * Renames a hard token issuer    * @return false if new alias or certificatesn already exists    * @throws EJBException if a communication or other error occurs.    */   public boolean renameHardTokenIssuer( org.ejbca.core.model.log.Admin admin,java.lang.String oldalias,java.lang.String newalias,int newadmingroupid ) ;   /**    * Method to check if an administrator is authorized to issue hard tokens for the given alias.    * @param admin administrator to check    * @param alias alias of hardtoken issuer.    * @return true if administrator is authorized to issue hardtoken with given alias.    */   public boolean getAuthorizedToHardTokenIssuer( org.ejbca.core.model.log.Admin admin,java.lang.String alias ) ;   /**    * Returns the available hard token issuers authorized to the administrator.    * @return A collection of available HardTokenIssuerData.    * @throws EJBException if a communication or other error occurs.    */   public java.util.Collection getHardTokenIssuerDatas( org.ejbca.core.model.log.Admin admin ) ;   /**    * Returns the available hard token issuer alliases authorized to the administrator.    * @return A collection of available hard token issuer aliases.    * @throws EJBException if a communication or other error occurs.    */   public java.util.Collection getHardTokenIssuerAliases( org.ejbca.core.model.log.Admin admin ) ;   /**    * Returns the available hard token issuers authorized to the administrator.    * @return A treemap of available hard token issuers.    * @throws EJBException if a communication or other error occurs.    */   public java.util.TreeMap getHardTokenIssuers( org.ejbca.core.model.log.Admin admin ) ;   /**    * Returns the specified hard token issuer.    * @return the hard token issuer data or null if hard token issuer doesn't exists.    * @throws EJBException if a communication or other error occurs.    */   public org.ejbca.core.model.hardtoken.HardTokenIssuerData getHardTokenIssuerData( org.ejbca.core.model.log.Admin admin,java.lang.String alias ) ;   /**    * Returns the specified hard token issuer.    * @return the hard token issuer data or null if hard token issuer doesn't exists.    * @throws EJBException if a communication or other error occurs.    */   public org.ejbca.core.model.hardtoken.HardTokenIssuerData getHardTokenIssuerData( org.ejbca.core.model.log.Admin admin,int id ) ;   /**

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -