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

📄 keyrecoverydatapk.java

📁 一套JAVA的CA证书签发系统.
💻 JAVA
字号:
/************************************************************************* *                                                                       * *  EJBCA: The OpenSource Certificate Authority                          * *                                                                       * *  This software is free software; you can redistribute it and/or       * *  modify it under the terms of the GNU Lesser General Public           * *  License as published by the Free Software Foundation; either         * *  version 2.1 of the License, or any later version.                    * *                                                                       * *  See terms of license at gnu.org.                                     * *                                                                       * *************************************************************************/ package se.anatom.ejbca.keyrecovery;/** * Primary key for key recovery data * * @version $Id: KeyRecoveryDataPK.java,v 1.5 2004/04/16 07:38:59 anatom Exp $ */public final class KeyRecoveryDataPK implements java.io.Serializable {	public String certSN;    public String issuerDN;	/**	 * Creates a new KeyRecoveryDataPK object.	 *	 * @param certificatesn certificate serial number	 * @param issuerdn dn of issuer of certificate	 */	public KeyRecoveryDataPK(java.math.BigInteger certSN, java.lang.String issuerDN) {        this.certSN = certSN.toString(16);        this.issuerDN = issuerDN;	}	/**	 * Creates a new KeyRecoveryDataPK object.	 */	public KeyRecoveryDataPK() {	}    public String getCertSN() {        return certSN;    }    public String getIssuerDN() {        return issuerDN;    }	/**	 * @see java.lang.Object#equals(java.lang.Object)	 */	public boolean equals(java.lang.Object other) {        if (other instanceof KeyRecoveryDataPK) {           return ( (certSN.equals(((KeyRecoveryDataPK)other).certSN)) &&               (issuerDN.equals(((KeyRecoveryDataPK)other).issuerDN)) );        }        return false;	}	/**	 * @see java.lang.Object#hashCode()	 */	public int hashCode() {		return (this.certSN+this.issuerDN).hashCode();	}}

⌨️ 快捷键说明

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