rsapublickeyspec.java

来自「kaffe是一个java虚拟机的源代码。里面包含了一些java例程和标准的jav」· Java 代码 · 共 51 行

JAVA
51
字号
/* * RSAPublicKeySpec.java * * Copyright (c) 2001 University of Utah and the Flux Group. * All rights reserved. * * This file is licensed under the terms of the GNU Public License. * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * Contributed by the Flux Research Group, Department of Computer Science, * University of Utah, http://www.cs.utah.edu/flux/ */package java.security.spec;import java.math.BigInteger;public class RSAPublicKeySpec    implements KeySpec{    private final BigInteger modulus;    private final BigInteger publicExponent;        public RSAPublicKeySpec(BigInteger modulus,			    BigInteger publicExponent)    {	this.modulus = modulus;	this.publicExponent = publicExponent;    }    public BigInteger getModulus()    {	return this.modulus;    }    public BigInteger getPublicExponent()    {	return this.publicExponent;    }    public String toString()    {	return "RSAPublicKeySpec[modulus="	    + this.modulus	    + "; publicExponent="	    + this.publicExponent	    + "]";    }}

⌨️ 快捷键说明

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