META-INF.modules.java.base.classes.sun.security.provider.DSA.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? :?
sun/security/provider/DSA !(Ljava/security/MessageDigest;Z)V
java/security/SignatureSpi ()V
md Ljava/security/MessageDigest; p1363Format Z "java/security/interfaces/DSAParams getQ ()Ljava/math/BigInteger;
java/math/BigInteger bitLength ()I ! !java/security/InvalidKeyException # java/lang/StringBuilder
" & The security strength of
" ( ) * append -(Ljava/lang/String;)Ljava/lang/StringBuilder; , 5 digest algorithm is not sufficient for this key size
" . / 0 toString ()Ljava/lang/String;
2 3 (Ljava/lang/String;)V 5 &java/security/interfaces/DSAPrivateKey 7 not a DSA private key:
" 9 ) : -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 4 < = > getParams &()Ljava/security/interfaces/DSAParams; @ DSA private key lacks parameters B NullDigest20
D E F G 0 java/security/MessageDigest getAlgorithm
I J K L M java/lang/String equals (Ljava/lang/Object;)Z
D O P getDigestLength
R S T checkKey :(Ljava/security/interfaces/DSAParams;ILjava/lang/String;)V V W X params $Ljava/security/interfaces/DSAParams; 4 Z [ getX ] ^ _ presetX Ljava/math/BigInteger; a b _ presetY d e getP g h _ presetP j k _ presetQ m n getG p q _ presetG
D s t reset v %java/security/interfaces/DSAPublicKey x not a DSA public key: u < { DSA public key lacks parameters u } ~ getY
D ? ? ? update (B)V
D ? ? ? ([BII)V
D ? ? ? (Ljava/nio/ByteBuffer;)V
? ? ? generateK .(Ljava/math/BigInteger;)Ljava/math/BigInteger;
? ? ? generateR p(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
? ? ? generateS
? ? ? toByteArray ()[B
? ? ? ? ? java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? !sun/security/util/DerOutputStream
? ? ? (I)V
? ? ? ?
putInteger (Ljava/math/BigInteger;)V ? sun/security/util/DerValue
? ?
? ? ? (B[B)V
? ? ? java/io/IOException ? java/security/SignatureException ? error encoding signature
? 2
? ? ? engineVerify ([BII)Z ? invalid signature format
? ? ? ? ? java/util/Arrays copyOfRange ([BII)[B
? ? ([B)V ? sun/security/util/DerInputStream
? ? ? ([BIIZ)V
? ? ? ? getSequence (I)[Lsun/security/util/DerValue;
? ? ? available ? Invalid encoding for signature
? 2
? ? ?
getBigInteger
? ? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V
? ? signum
? ? (I[B)V
? ? ? compareTo (Ljava/math/BigInteger;)I
? ? ? generateW
? ? ? generateV ?(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
J ? &invalid signature: out of range values ? 'java/security/InvalidParameterException ? No parameter accepted
? 2 ? 0java/security/InvalidAlgorithmParameterException
? 2
? ? ? getSigningRandom ()Ljava/security/SecureRandom;
? ? (ILjava/util/Random;)V ? ? _ BLINDING_CONSTANT
? add
? multiply
modPow D(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
? mod
D
? digest java/lang/RuntimeException
0
getMessage
?
modInverse
? java/security/SecureRandom nextBytes _ ONE
! ? subtract #$%
signingRandom Ljava/security/SecureRandom; '(% appRandom
*+,- ? sun/security/jca/JCAUtil getSecureRandom/
DSA Signature1
p:
34567 sun/security/util/Debug toHexString *(Ljava/math/BigInteger;)Ljava/lang/String;9
q: ;
g: =
P, Q or G not initialized.?
y: A
UNINIIALIZED ?
EFG valueOf (J)Ljava/math/BigInteger; debug
ConstantValue
BLINDING_BITS I (Ljava/security/MessageDigest;)V Code LineNumberTable LocalVariableTable this Lsun/security/provider/DSA; digestLen mdAlgo Ljava/lang/String; valueN
StackMapTable
Exceptions engineInitSign (Ljava/security/PrivateKey;)V
privateKey Ljava/security/PrivateKey; priv (Ljava/security/interfaces/DSAPrivateKey; engineInitVerify (Ljava/security/PublicKey;)V publicKey Ljava/security/PublicKey; pub 'Ljava/security/interfaces/DSAPublicKey; engineUpdate b B data [B off len Ljava/nio/ByteBuffer;
engineSign rBytes sBytes size outseq rLength sLength i j #Lsun/security/util/DerOutputStream; result Lsun/security/util/DerValue; e Ljava/io/IOException; k r sj ([B)Z signature mid in "Lsun/security/util/DerInputStream; values [Lsun/security/util/DerValue; w v offset length? engineSetParameter '(Ljava/lang/String;Ljava/lang/Object;)V key param Ljava/lang/Object;
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; .(Ljava/security/spec/AlgorithmParameterSpec;)V +Ljava/security/spec/AlgorithmParameterSpec; engineGetParameter &(Ljava/lang/String;)Ljava/lang/Object; engineGetParameters %()Ljava/security/AlgorithmParameters; p q g random
blindingValue temp s2 re Ljava/lang/RuntimeException; x nBytes z k1 y u1 u2 t1 t2 t3 t5 kValue printable
SourceFile DSA.java NestMembers? -sun/security/provider/DSA$RawDSAinP1363Format? sun/security/provider/DSA$RawDSA? sun/security/provider/DSA$Raw? *sun/security/provider/DSA$Raw$NullDigest20? 2sun/security/provider/DSA$SHA1withDSAinP1363Format? %sun/security/provider/DSA$SHA1withDSA? 4sun/security/provider/DSA$SHA256withDSAinP1363Format? 'sun/security/provider/DSA$SHA256withDSA? 4sun/security/provider/DSA$SHA224withDSAinP1363Format? 'sun/security/provider/DSA$SHA224withDSA InnerClasses RawDSAinP1363Format RawDSA Raw SHA1withDSAinP1363Format SHA1withDSA SHA256withDSAinP1363Format
SHA256withDSA SHA224withDSAinP1363Format
SHA224withDSA H I J KL I M ? _ W X h _ k _ q _ b _ ^ _ $% N O ? *+? ? P
e fQ RS O Y *? *+? *? ? P p q r sQ RS
S T O ? 0*? ? >? #? Y? "Y? $%? ',? '+? '? -? 1?? P z
{ | / Q * 0 W X 0TL 0UV
&WL X ? /Y Z[ O 1 ?+? 4? ? Y? "Y? $6? '+? 8? -? 1?+? 4M,? ; N-?
? Y?? 1?A*? ? C? H? -*? ? Nh*? ? C? Q*-? U*,? Y ? \*? `*-? c ? f*-? ? i*-? l ? o*? ? r? P B ? ? " ? ' ? . ? 2 ? <