public class RSAPrivateKey
extends com.objsys.asn1j.runtime.Asn1Type
Modifier and Type | Field and Description |
---|---|
com.objsys.asn1j.runtime.Asn1BigInteger |
coefficient |
com.objsys.asn1j.runtime.Asn1BigInteger |
exponent1 |
com.objsys.asn1j.runtime.Asn1BigInteger |
exponent2 |
com.objsys.asn1j.runtime.Asn1BigInteger |
modulus |
com.objsys.asn1j.runtime.Asn1BigInteger |
prime1 |
com.objsys.asn1j.runtime.Asn1BigInteger |
prime2 |
com.objsys.asn1j.runtime.Asn1BigInteger |
privateExponent |
com.objsys.asn1j.runtime.Asn1BigInteger |
publicExponent |
Version |
version |
BIT_STRING, BMPString, BOOLEAN, DATE, DATE_TIME, DURATION, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OID_IRI, OpenType, PrintableString, REAL, RELATIVE_OID_IRI, RelativeOID, SEQUENCE, SET, T61String, TeletexString, TIME, TIME_OF_DAY, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString, z
Constructor and Description |
---|
RSAPrivateKey() |
RSAPrivateKey(long version_,
com.objsys.asn1j.runtime.Asn1BigInteger modulus_,
com.objsys.asn1j.runtime.Asn1BigInteger publicExponent_,
com.objsys.asn1j.runtime.Asn1BigInteger privateExponent_,
com.objsys.asn1j.runtime.Asn1BigInteger prime1_,
com.objsys.asn1j.runtime.Asn1BigInteger prime2_,
com.objsys.asn1j.runtime.Asn1BigInteger exponent1_,
com.objsys.asn1j.runtime.Asn1BigInteger exponent2_,
com.objsys.asn1j.runtime.Asn1BigInteger coefficient_)
This constructor allows primitive data to be passed for all
primitive elements.
|
RSAPrivateKey(Version version_,
com.objsys.asn1j.runtime.Asn1BigInteger modulus_,
com.objsys.asn1j.runtime.Asn1BigInteger publicExponent_,
com.objsys.asn1j.runtime.Asn1BigInteger privateExponent_,
com.objsys.asn1j.runtime.Asn1BigInteger prime1_,
com.objsys.asn1j.runtime.Asn1BigInteger prime2_,
com.objsys.asn1j.runtime.Asn1BigInteger exponent1_,
com.objsys.asn1j.runtime.Asn1BigInteger exponent2_,
com.objsys.asn1j.runtime.Asn1BigInteger coefficient_)
This constructor sets all elements to references to the
given objects
|
Modifier and Type | Method and Description |
---|---|
void |
decode(com.objsys.asn1j.runtime.Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength) |
int |
encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer,
boolean explicit) |
void |
init() |
void |
print(java.io.PrintStream _out,
java.lang.String _varName,
int _level) |
public Version version
public com.objsys.asn1j.runtime.Asn1BigInteger modulus
public com.objsys.asn1j.runtime.Asn1BigInteger publicExponent
public com.objsys.asn1j.runtime.Asn1BigInteger privateExponent
public com.objsys.asn1j.runtime.Asn1BigInteger prime1
public com.objsys.asn1j.runtime.Asn1BigInteger prime2
public com.objsys.asn1j.runtime.Asn1BigInteger exponent1
public com.objsys.asn1j.runtime.Asn1BigInteger exponent2
public com.objsys.asn1j.runtime.Asn1BigInteger coefficient
public RSAPrivateKey()
public RSAPrivateKey(Version version_, com.objsys.asn1j.runtime.Asn1BigInteger modulus_, com.objsys.asn1j.runtime.Asn1BigInteger publicExponent_, com.objsys.asn1j.runtime.Asn1BigInteger privateExponent_, com.objsys.asn1j.runtime.Asn1BigInteger prime1_, com.objsys.asn1j.runtime.Asn1BigInteger prime2_, com.objsys.asn1j.runtime.Asn1BigInteger exponent1_, com.objsys.asn1j.runtime.Asn1BigInteger exponent2_, com.objsys.asn1j.runtime.Asn1BigInteger coefficient_)
public RSAPrivateKey(long version_, com.objsys.asn1j.runtime.Asn1BigInteger modulus_, com.objsys.asn1j.runtime.Asn1BigInteger publicExponent_, com.objsys.asn1j.runtime.Asn1BigInteger privateExponent_, com.objsys.asn1j.runtime.Asn1BigInteger prime1_, com.objsys.asn1j.runtime.Asn1BigInteger prime2_, com.objsys.asn1j.runtime.Asn1BigInteger exponent1_, com.objsys.asn1j.runtime.Asn1BigInteger exponent2_, com.objsys.asn1j.runtime.Asn1BigInteger coefficient_)
public void init()
public void decode(com.objsys.asn1j.runtime.Asn1BerDecodeBuffer buffer, boolean explicit, int implicitLength) throws com.objsys.asn1j.runtime.Asn1Exception, java.io.IOException
decode
in interface com.objsys.asn1j.runtime.Asn1TypeIF
decode
in class com.objsys.asn1j.runtime.Asn1Type
com.objsys.asn1j.runtime.Asn1Exception
java.io.IOException
public int encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer, boolean explicit) throws com.objsys.asn1j.runtime.Asn1Exception
encode
in interface com.objsys.asn1j.runtime.Asn1TypeIF
encode
in class com.objsys.asn1j.runtime.Asn1Type
com.objsys.asn1j.runtime.Asn1Exception
public void print(java.io.PrintStream _out, java.lang.String _varName, int _level)
print
in interface com.objsys.asn1j.runtime.Asn1TypeIF
print
in class com.objsys.asn1j.runtime.Asn1Type
Copyright © 2025. All rights reserved.