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

## org.bouncycastle.asn1.x509
Class RSAPublicKeyStructure

    java.lang.Object
      |
      +--org.bouncycastle.asn1.x509.RSAPublicKeyStructure

All Implemented Interfaces:
  DEREncodable

public class RSAPublicKeyStructure
extends java.lang.Object
implements DEREncodable

Constructor Summary
`RSAPublicKeyStructure(ASN1Sequence seq)`
`RSAPublicKeyStructure(java.math.BigInteger modulus, java.math.BigInteger publicExponent)`

Method Summary
`DERObject` | `getDERObject()` This outputs the key in PKCS1v2 format.
`static RSAPublicKeyStructure` | `getInstance(ASN1TaggedObject obj, boolean explicit)`
`static RSAPublicKeyStructure` | `getInstance(java.lang.Object obj)`
`java.math.BigInteger` | `getModulus()`
`java.math.BigInteger` | `getPublicExponent()`

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

Constructor Detail

### RSAPublicKeyStructure

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

### RSAPublicKeyStructure

    public RSAPublicKeyStructure(ASN1Sequence seq)

Method Detail

### getInstance

    public static RSAPublicKeyStructure getInstance(ASN1TaggedObject obj,
                                                    boolean explicit)

### getInstance

    public static RSAPublicKeyStructure getInstance(java.lang.Object obj)

### getModulus

    public java.math.BigInteger getModulus()

### getPublicExponent

    public java.math.BigInteger getPublicExponent()

### getDERObject

    public DERObject getDERObject()

  This outputs the key in PKCS1v2 format.

            RSAPublicKey ::= SEQUENCE {
                                modulus INTEGER, -- n
                                publicExponent INTEGER, -- e
                            }

  Specified by:
    `getDERObject` in interface `DEREncodable`

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