public class RSAPublicKey extends ASN1Object
| Constructor and Description |
|---|
RSAPublicKey(BigInteger modulus,
BigInteger publicExponent) |
| Modifier and Type | Method and Description |
|---|---|
static RSAPublicKey |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static RSAPublicKey |
getInstance(Object obj) |
BigInteger |
getModulus() |
BigInteger |
getPublicExponent() |
ASN1Primitive |
toASN1Primitive()
This outputs the key in PKCS1v2 format.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic RSAPublicKey(BigInteger modulus, BigInteger publicExponent)
public static RSAPublicKey getInstance(ASN1TaggedObject obj, boolean explicit)
public static RSAPublicKey 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–2021 The veraPDF Consortium. All rights reserved.