public class RSAPublicKeyStructure extends ASN1Object
| Constructor and Description |
|---|
RSAPublicKeyStructure(ASN1Sequence seq)
Deprecated.
|
RSAPublicKeyStructure(BigInteger modulus,
BigInteger publicExponent)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static RSAPublicKeyStructure |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated.
|
static RSAPublicKeyStructure |
getInstance(Object obj)
Deprecated.
|
BigInteger |
getModulus()
Deprecated.
|
BigInteger |
getPublicExponent()
Deprecated.
|
ASN1Primitive |
toASN1Primitive()
Deprecated.
This outputs the key in PKCS1v2 format.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic RSAPublicKeyStructure(BigInteger modulus, BigInteger publicExponent)
public RSAPublicKeyStructure(ASN1Sequence seq)
public static RSAPublicKeyStructure getInstance(ASN1TaggedObject obj, boolean explicit)
public static RSAPublicKeyStructure getInstance(Object obj)
public BigInteger getModulus()
public BigInteger getPublicExponent()
public ASN1Primitive toASN1Primitive()
RSAPublicKey ::= SEQUENCE {
modulus INTEGER, -- n
publicExponent INTEGER, -- e
}
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1ObjectCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.