com.mindbright.security.pkcs1
Class RSAPublicKey
java.lang.Object
com.mindbright.asn1.ASN1Object
com.mindbright.asn1.ASN1Structure
com.mindbright.asn1.ASN1Sequence
com.mindbright.security.pkcs1.RSAPublicKey
- public class RSAPublicKey
- extends ASN1Sequence
Represents the public part of an RSA key.
RSAPublicKey ::= SEQUENCE {
modulus INTEGER, -- (Usually large) n = p*q
publicExponent INTEGER -- (Usually small) e
}
Methods inherited from class com.mindbright.asn1.ASN1Structure |
addComponent, addComponent, addOptional, addOptional, addOptional, decodeValue, encodeValue, equals, getComponent, getCount, getDecodeComponent, getDefault, getDistinctComponent, hashCode, isOptional, ofType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
modulus
public ASN1Integer modulus
publicExponent
public ASN1Integer publicExponent
RSAPublicKey
public RSAPublicKey()
RSAPublicKey
public RSAPublicKey(java.math.BigInteger modulus,
java.math.BigInteger publicExponent)