Package org.bouncycastle.asn1.x509
Class RSAPublicKeyStructure
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.RSAPublicKeyStructure
-
- All Implemented Interfaces:
ASN1Encodable,Encodable
public class RSAPublicKeyStructure extends ASN1Object
Deprecated.use org.bouncycastle.asn1.pkcs.RSAPublicKey
-
-
Constructor Summary
Constructors Constructor Description RSAPublicKeyStructure(java.math.BigInteger modulus, java.math.BigInteger publicExponent)Deprecated.RSAPublicKeyStructure(ASN1Sequence seq)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RSAPublicKeyStructuregetInstance(java.lang.Object obj)Deprecated.static RSAPublicKeyStructuregetInstance(ASN1TaggedObject obj, boolean explicit)Deprecated.java.math.BigIntegergetModulus()Deprecated.java.math.BigIntegergetPublicExponent()Deprecated.ASN1PrimitivetoASN1Primitive()Deprecated.This outputs the key in PKCS1v2 format.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
RSAPublicKeyStructure
public RSAPublicKeyStructure(java.math.BigInteger modulus, java.math.BigInteger publicExponent)Deprecated.
-
RSAPublicKeyStructure
public RSAPublicKeyStructure(ASN1Sequence seq)
Deprecated.
-
-
Method Detail
-
getInstance
public static RSAPublicKeyStructure getInstance(ASN1TaggedObject obj, boolean explicit)
Deprecated.
-
getInstance
public static RSAPublicKeyStructure getInstance(java.lang.Object obj)
Deprecated.
-
getModulus
public java.math.BigInteger getModulus()
Deprecated.
-
getPublicExponent
public java.math.BigInteger getPublicExponent()
Deprecated.
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Deprecated.This outputs the key in PKCS1v2 format.RSAPublicKey ::= SEQUENCE { modulus INTEGER, -- n publicExponent INTEGER, -- e }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
-