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

📄 icertificatestoresessionremote.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
   public boolean checkIfAllRevoked( org.ejbca.core.model.log.Admin admin,java.lang.String username )      throws java.rmi.RemoteException;   /**    * Checks if a certificate is revoked.    * @param admin Administrator performing the operation    * @param issuerDN the DN of the issuer.    * @param serno the serialnumber of the certificate that will be checked    * @return RevokedCertInfo with revocation information, with reason RevokedCertInfo.NOT_REVOKED if NOT revoked. Returns null if certificate is not found.    */   public org.ejbca.core.model.ca.crl.RevokedCertInfo isRevoked( org.ejbca.core.model.log.Admin admin,java.lang.String issuerDN,java.math.BigInteger serno )      throws java.rmi.RemoteException;   /**    * Retrieves the latest CRL issued by this CA.    * @param admin Administrator performing the operation    * @param issuerdn the CRL issuers DN (CAs subject DN)    * @return X509CRL or null of no CRLs have been issued.    */   public byte[] getLastCRL( org.ejbca.core.model.log.Admin admin,java.lang.String issuerdn )      throws java.rmi.RemoteException;   /**    * Retrieves the information about the lastest CRL issued by this CA.    * @param admin Administrator performing the operation    * @param issuerdn the CRL issuers DN (CAs subject DN)    * @return CRLInfo of last CRL by CA.    */   public org.ejbca.core.model.ca.store.CRLInfo getLastCRLInfo( org.ejbca.core.model.log.Admin admin,java.lang.String issuerdn )      throws java.rmi.RemoteException;   /**    * Retrieves the highest CRLNumber issued by the CA.    * @param admin Administrator performing the operation    * @param issuerdn the subjectDN of a CA certificate    */   public int getLastCRLNumber( org.ejbca.core.model.log.Admin admin,java.lang.String issuerdn )      throws java.rmi.RemoteException;   /**    * Method used to add a CertReqHistory to database    * @param admin calling the methods    * @param certificate the certificate to store (Only X509Certificate used for now)    * @param useradmindata the user information used when issuing the certificate.    */   public void addCertReqHistoryData( org.ejbca.core.model.log.Admin admin,java.security.cert.Certificate certificate,org.ejbca.core.model.ra.UserDataVO useradmindata )      throws java.rmi.RemoteException;   /**    * Method to remove CertReqHistory data.    * @param admin    * @param certFingerprint the primary key.    */   public void removeCertReqHistoryData( org.ejbca.core.model.log.Admin admin,java.lang.String certFingerprint )      throws java.rmi.RemoteException;   /**    * Retrieves the certificate request data belonging to given certificate serialnumber and issuerdn    * @param admin    * @param certificateSN serial number of the certificate    * @param issuerDN    * @return the CertReqHistory or null if no data is stored with the certificate.    */   public org.ejbca.core.model.ca.store.CertReqHistory getCertReqHistory( org.ejbca.core.model.log.Admin admin,java.math.BigInteger certificateSN,java.lang.String issuerDN )      throws java.rmi.RemoteException;   /**    * Retrieves all cert request datas belonging to a user.    * @param admin    * @param username    * @return a collection of CertReqHistory    */   public java.util.List getCertReqHistory( org.ejbca.core.model.log.Admin admin,java.lang.String username )      throws java.rmi.RemoteException;   /**    * Adds a certificate profile to the database.    * @param admin administrator performing the task    * @param certificateprofilename readable name of new certificate profile    * @param certificateprofile the profile to be added    */   public void addCertificateProfile( org.ejbca.core.model.log.Admin admin,java.lang.String certificateprofilename,org.ejbca.core.model.ca.certificateprofiles.CertificateProfile certificateprofile )      throws org.ejbca.core.model.ca.certificateprofiles.CertificateProfileExistsException, java.rmi.RemoteException;   /**    * Adds a certificate profile to the database.    * @param admin administrator performing the task    * @param certificateprofileid internal ID of new certificate profile, use only if you know it's right.    * @param certificateprofilename readable name of new certificate profile    * @param certificateprofile the profile to be added    */   public void addCertificateProfile( org.ejbca.core.model.log.Admin admin,int certificateprofileid,java.lang.String certificateprofilename,org.ejbca.core.model.ca.certificateprofiles.CertificateProfile certificateprofile )      throws org.ejbca.core.model.ca.certificateprofiles.CertificateProfileExistsException, java.rmi.RemoteException;   /**    * Adds a certificateprofile with the same content as the original certificateprofile,    * @param admin Administrator performing the operation    * @param originalcertificateprofilename readable name of old certificate profile    * @param newcertificateprofilename readable name of new certificate profile    */   public void cloneCertificateProfile( org.ejbca.core.model.log.Admin admin,java.lang.String originalcertificateprofilename,java.lang.String newcertificateprofilename )      throws org.ejbca.core.model.ca.certificateprofiles.CertificateProfileExistsException, java.rmi.RemoteException;   /**    * Removes a certificateprofile from the database.    * @param admin Administrator performing the operation    */   public void removeCertificateProfile( org.ejbca.core.model.log.Admin admin,java.lang.String certificateprofilename )      throws java.rmi.RemoteException;   /**    * Renames a certificateprofile    */   public void renameCertificateProfile( org.ejbca.core.model.log.Admin admin,java.lang.String oldcertificateprofilename,java.lang.String newcertificateprofilename )      throws org.ejbca.core.model.ca.certificateprofiles.CertificateProfileExistsException, java.rmi.RemoteException;   /**    * Updates certificateprofile data    * @param admin Administrator performing the operation    */   public void changeCertificateProfile( org.ejbca.core.model.log.Admin admin,java.lang.String certificateprofilename,org.ejbca.core.model.ca.certificateprofiles.CertificateProfile certificateprofile )      throws java.rmi.RemoteException;   /**    * Retrives a Collection of id:s (Integer) to authorized profiles.    * @param certprofiletype should be either CertificateDataBean.CERTTYPE_ENDENTITY, CertificateDataBean.CERTTYPE_SUBCA, CertificateDataBean.CERTTYPE_ROOTCA, CertificateDataBean.CERTTYPE_HARDTOKEN (i.e EndEntity certificates and Hardtoken fixed profiles) or 0 for all. Retrives certificate profile names sorted.    * @return Collection of id:s (Integer)    */   public java.util.Collection getAuthorizedCertificateProfileIds( org.ejbca.core.model.log.Admin admin,int certprofiletype )      throws java.rmi.RemoteException;   /**    * Method creating a hashmap mapping profile id (Integer) to profile name (String).    * @param admin Administrator performing the operation    */   public java.util.HashMap getCertificateProfileIdToNameMap( org.ejbca.core.model.log.Admin admin )      throws java.rmi.RemoteException;   /**    * Retrives a named certificate profile.    */   public org.ejbca.core.model.ca.certificateprofiles.CertificateProfile getCertificateProfile( org.ejbca.core.model.log.Admin admin,java.lang.String certificateprofilename )      throws java.rmi.RemoteException;   /**    * Finds a certificate profile by id.    * @param admin Administrator performing the operation    */   public org.ejbca.core.model.ca.certificateprofiles.CertificateProfile getCertificateProfile( org.ejbca.core.model.log.Admin admin,int id )      throws java.rmi.RemoteException;   /**    * Returns a certificate profile id, given it's certificate profile name    * @param admin Administrator performing the operation    * @return the id or 0 if certificateprofile cannot be found.    */   public int getCertificateProfileId( org.ejbca.core.model.log.Admin admin,java.lang.String certificateprofilename )      throws java.rmi.RemoteException;   /**    * Returns a certificateprofiles name given it's id.    * @param admin Administrator performing the operation    * @return certificateprofilename or null if certificateprofile id doesn't exists.    */   public java.lang.String getCertificateProfileName( org.ejbca.core.model.log.Admin admin,int id )      throws java.rmi.RemoteException;   /**    * Method to check if a CA exists in any of the certificate profiles. Used to avoid desyncronization of CA data.    * @param admin Administrator performing the operation    * @param caid the caid to search for.    * @return true if ca exists in any of the certificate profiles.    */   public boolean existsCAInCertificateProfiles( org.ejbca.core.model.log.Admin admin,int caid )      throws java.rmi.RemoteException;   /**    * Method to check if a Publisher exists in any of the certificate profiles. Used to avoid desyncronization of publisher data.    * @param publisherid the publisherid to search for.    * @return true if publisher exists in any of the certificate profiles.    */   public boolean existsPublisherInCertificateProfiles( org.ejbca.core.model.log.Admin admin,int publisherid )      throws java.rmi.RemoteException;}

⌨️ 快捷键说明

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