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

📄 rsapubkey.java

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 JAVA
字号:
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS.security;import java.math.*;import java.security.interfaces.*;/** * A stub implementation of an RSA public key * * @author Brian Wellington */class RSAPubKey implements RSAPublicKey {private BigInteger Modulus, Exponent;/** Create an RSA public key from its parts */publicRSAPubKey(BigInteger modulus, BigInteger exponent) {	Modulus = modulus;	Exponent = exponent;}/** Obtain the modulus of an RSA public key */public BigIntegergetModulus() {	return Modulus;}/** Obtain the exponent of an RSA public key */public BigIntegergetPublicExponent() {	return Exponent;}/** Obtain the algorithm of an RSA public key */public StringgetAlgorithm() {	return "RSA";}/** Obtain the format of an RSA public key (unimplemented) */public StringgetFormat() {	return null;}/** Obtain the encoded representation of an RSA public key (unimplemented) */public byte []getEncoded() {	return null;}}

⌨️ 快捷键说明

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