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

📄 ipublishersessionremote.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.ca.publisher;/** * Remote interface for PublisherSession. */public interface IPublisherSessionRemote   extends javax.ejb.EJBObject{   /**    * Stores the certificate to the given collection of publishers. See BasePublisher class for further documentation about function    * @param publisherids a Collection (Integer) of publisherids.    * @return true if sucessfull result on all given publishers    * @see org.ejbca.core.model.ca.publisher.BasePublisher    */   public boolean storeCertificate( org.ejbca.core.model.log.Admin admin,java.util.Collection publisherids,java.security.cert.Certificate incert,java.lang.String username,java.lang.String password,java.lang.String cafp,int status,int type,long revocationDate,int revocationReason,org.ejbca.core.model.ra.ExtendedInformation extendedinformation )      throws java.rmi.RemoteException;   /**    * Stores the crl to the given collection of publishers. See BasePublisher class for further documentation about function    * @param publisherids a Collection (Integer) of publisherids.    * @return true if sucessfull result on all given publishers    * @see org.ejbca.core.model.ca.publisher.BasePublisher    */   public boolean storeCRL( org.ejbca.core.model.log.Admin admin,java.util.Collection publisherids,byte[] incrl,java.lang.String cafp,int number )      throws java.rmi.RemoteException;   /**    * Revokes the certificate in the given collection of publishers. See BasePublisher class for further documentation about function    * @param publisherids a Collection (Integer) of publisherids.    * @see org.ejbca.core.model.ca.publisher.BasePublisher    */   public void revokeCertificate( org.ejbca.core.model.log.Admin admin,java.util.Collection publisherids,java.security.cert.Certificate cert,int reason )      throws java.rmi.RemoteException;   /**    * Test the connection to of a publisher    * @param publisherid the id of the publisher to test.    * @see org.ejbca.core.model.ca.publisher.BasePublisher    */   public void testConnection( org.ejbca.core.model.log.Admin admin,int publisherid )      throws org.ejbca.core.model.ca.publisher.PublisherConnectionException, java.rmi.RemoteException;   /**    * Adds a publisher to the database.    * @throws PublisherExistsException if hard token already exists.    * @throws EJBException if a communication or other error occurs.    */   public void addPublisher( org.ejbca.core.model.log.Admin admin,java.lang.String name,org.ejbca.core.model.ca.publisher.BasePublisher publisher )      throws org.ejbca.core.model.ca.publisher.PublisherExistsException, java.rmi.RemoteException;   /**    * Adds a publisher to the database. Used for importing and exporting profiles from xml-files.    * @throws PublisherExistsException if hard token already exists.    * @throws EJBException if a communication or other error occurs.    */   public void addPublisher( org.ejbca.core.model.log.Admin admin,int id,java.lang.String name,org.ejbca.core.model.ca.publisher.BasePublisher publisher )      throws org.ejbca.core.model.ca.publisher.PublisherExistsException, java.rmi.RemoteException;   /**    * Updates publisher data    * @throws EJBException if a communication or other error occurs.    */   public void changePublisher( org.ejbca.core.model.log.Admin admin,java.lang.String name,org.ejbca.core.model.ca.publisher.BasePublisher publisher )      throws java.rmi.RemoteException;   /**    * Adds a publisher with the same content as the original.    * @throws PublisherExistsException if publisher already exists.    * @throws EJBException if a communication or other error occurs.    */   public void clonePublisher( org.ejbca.core.model.log.Admin admin,java.lang.String oldname,java.lang.String newname )      throws java.rmi.RemoteException;   /**    * Removes a publisher from the database.    * @throws EJBException if a communication or other error occurs.    */   public void removePublisher( org.ejbca.core.model.log.Admin admin,java.lang.String name )      throws java.rmi.RemoteException;   /**    * Renames a publisher    * @throws PublisherExistsException if publisher already exists.    * @throws EJBException if a communication or other error occurs.    */   public void renamePublisher( org.ejbca.core.model.log.Admin admin,java.lang.String oldname,java.lang.String newname )      throws org.ejbca.core.model.ca.publisher.PublisherExistsException, java.rmi.RemoteException;   /**    * Retrives a Collection of id:s (Integer) to authorized publishers.    * @return Collection of id:s (Integer)    */   public java.util.Collection getAuthorizedPublisherIds( org.ejbca.core.model.log.Admin admin )      throws java.rmi.RemoteException;   /**    * Method creating a hashmap mapping publisher id (Integer) to publisher name (String).    */   public java.util.HashMap getPublisherIdToNameMap( org.ejbca.core.model.log.Admin admin )      throws java.rmi.RemoteException;   /**    * Retrives a named publisher.    */   public org.ejbca.core.model.ca.publisher.BasePublisher getPublisher( org.ejbca.core.model.log.Admin admin,java.lang.String name )      throws java.rmi.RemoteException;   /**    * Finds a publisher by id.    */   public org.ejbca.core.model.ca.publisher.BasePublisher getPublisher( org.ejbca.core.model.log.Admin admin,int id )      throws java.rmi.RemoteException;   /**    * Help method used by publisher proxys to indicate if it is time to update it's data.    */   public int getPublisherUpdateCount( org.ejbca.core.model.log.Admin admin,int publisherid )      throws java.rmi.RemoteException;   /**    * Returns a publisher id, given it's publishers name    * @return the id or 0 if the publisher cannot be found.    */   public int getPublisherId( org.ejbca.core.model.log.Admin admin,java.lang.String name )      throws java.rmi.RemoteException;   /**    * Returns a publishers name given its id.    * @return the name or null if id doesnt exists    * @throws EJBException if a communication or other error occurs.    */   public java.lang.String getPublisherName( org.ejbca.core.model.log.Admin admin,int id )      throws java.rmi.RemoteException;}

⌨️ 快捷键说明

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