Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
     }

Field Summary
`ASN1Integer` | `modulus`
`ASN1Integer` | `publicExponent`

Fields inherited from class com.mindbright.asn1.ASN1Structure
`components, count, ofType`

Fields inherited from class com.mindbright.asn1.ASN1Object
`isSet, tag`

Constructor Summary
`RSAPublicKey()`
`RSAPublicKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent)`

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 com.mindbright.asn1.ASN1Object
`decodeValue, getTag, getType, isSet, setValue`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### modulus

    public ASN1Integer modulus

### publicExponent

    public ASN1Integer publicExponent

Constructor Detail

### RSAPublicKey

    public RSAPublicKey()

### RSAPublicKey

    public RSAPublicKey(java.math.BigInteger modulus,
                        java.math.BigInteger publicExponent)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD