de.uniks.networkparser.bytes.RSAKey.class Maven / Gradle / Ivy
???? 4G
P ? ? ? ?
?
?
?
?
? ? ? ?
? ?
?
?
? ?
? ?
?
?
? ?
? ?
?
?
?
P ? ? ? ? ?
?
? ? ?
?
?
? ?
?
?
?
?
? ?
?
?
? ?
0 ?
?
?
?
?
?
? ?
?
?
?
? ?
?
N ?
? ?
N ?
N
T
N BEGINPUBLICKEY Ljava/lang/String;
ConstantValue ENDPUBLICKEY BEGINPRIVATEKEY
ENDPRIVATEKEY RSABYTE Ljava/lang/Byte; SAFESIZE I TAG e Ljava/math/BigInteger; d N (Ljava/math/BigInteger;)V Code LineNumberTable LocalVariableTable this %Lde/uniks/networkparser/bytes/RSAKey;
withPublicKey =(Ljava/math/BigInteger;)Lde/uniks/networkparser/bytes/RSAKey; value getPublicKey ()Ljava/math/BigInteger; withPrivateKey
getPrivateKey
getModulus
withPubExp ((I)Lde/uniks/networkparser/bytes/RSAKey; newValue encrypt .(Ljava/math/BigInteger;)Ljava/math/BigInteger; message
StackMapTable -(Ljava/lang/String;)Ljava/lang/StringBuilder; decrypt 1(Ljava/math/BigInteger;)Ljava/lang/StringBuilder; character text divider bitCount sb Ljava/lang/StringBuilder; ? ? ? sign V(Lde/uniks/networkparser/interfaces/Entity;)Lde/uniks/networkparser/interfaces/Entity; *Lde/uniks/networkparser/interfaces/Entity; string hashCode .(Ljava/lang/String;I)Ljava/lang/StringBuilder; C i group item c encoding &(Ljava/lang/String;)Ljava/lang/String; rest weedOut
isPositive (Ljava/math/BigInteger;)Z number isNull (Ljava/lang/Object;)Z Ljava/lang/Object; generateKey *(III)Lde/uniks/networkparser/bytes/RSAKey; p q max '()Lde/uniks/networkparser/bytes/RSAKey; T(Ljava/math/BigInteger;Ljava/math/BigInteger;I)Lde/uniks/networkparser/bytes/RSAKey; rand Ljava/util/Random; key phi ?
computePhi D(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; lcm a b
getDecryptKey S(Ljava/math/BigInteger;Ljava/math/BigInteger;)Lde/uniks/networkparser/bytes/RSAKey; n
privateKey toString ()Ljava/lang/String; /Lde/uniks/networkparser/buffer/CharacterBuffer; getPublicStream +()Lde/uniks/networkparser/buffer/DERBuffer; getPrivateStream getStream A(Ljava/math/BigInteger;)Lde/uniks/networkparser/buffer/DERBuffer; bitString )Lde/uniks/networkparser/buffer/DERBuffer; derBuffer ()V
SourceFile RSAKey.java j ? i g f g h g ? } x u } !" (WARNUNG MODULUS MUST BIGGER (HASH-VALUE)#$% t u&