META-INF.modules.java.base.classes.sun.security.ssl.SSLCipher$T10BlockWriteCipherGenerator$BlockWriteCipher.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/ssl/SSLCipher$SSLWriteCipher E(Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;)V
javax/crypto/Cipher getInstance )(Ljava/lang/String;)Ljavax/crypto/Cipher; Hsun/security/ssl/SSLCipher$T10BlockWriteCipherGenerator$BlockWriteCipher cipher Ljavax/crypto/Cipher;
init ^(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
java/nio/ByteBuffer position ()I
authenticator Lsun/security/ssl/Authenticator; " "sun/security/ssl/Authenticator$MAC ! $ % & macAlg '()Lsun/security/ssl/CipherSuite$MacAlg; ( ) * + , #sun/security/ssl/CipherSuite$MacAlg size I
. / 0 1 2 sun/security/ssl/SSLCipher addMac =(Lsun/security/ssl/Authenticator$MAC;Ljava/nio/ByteBuffer;B)V
4 5 6 7 8 sun/security/ssl/Authenticator increaseSequenceNumber ()V
: ; getBlockSize
. = > ?
addPadding (Ljava/nio/ByteBuffer;I)I
A B (I)Ljava/nio/ByteBuffer; D E F G H sun/security/ssl/SSLLogger isOn Z J plaintext
D L G M (Ljava/lang/String;)Z O "Padded plaintext before ENCRYPTION Q java/lang/Object
S T U duplicate ()Ljava/nio/ByteBuffer;
D W X Y fine ((Ljava/lang/String;[Ljava/lang/Object;)V
[ \ ] update -(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I _ java/lang/RuntimeException a $Unexpected number of plaintext bytes
^ c d (Ljava/lang/String;)V f Unexpected ByteBuffer position h !javax/crypto/ShortBufferException j java/lang/StringBuilder
i l 8 n 'Cipher buffering error in JCE provider
i p q r append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
t u v getProvider ()Ljava/security/Provider;
x y z { | java/security/Provider getName ()Ljava/lang/String;
i ~ | toString
^ ? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V
? ? ? doFinal ()[B ? java/lang/Exception ?(Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;Ljava/lang/String;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V Code LineNumberTable LocalVariableTable this JLsun/security/ssl/SSLCipher$T10BlockWriteCipherGenerator$BlockWriteCipher; protocolVersion "Lsun/security/ssl/ProtocolVersion; algorithm Ljava/lang/String; key Ljava/security/Key; params +Ljava/security/spec/AlgorithmParameterSpec; random Ljava/security/SecureRandom;
Exceptions ? &java/security/GeneralSecurityException encrypt (BLjava/nio/ByteBuffer;)I sbe #Ljavax/crypto/ShortBufferException; contentType B bb Ljava/nio/ByteBuffer; pos signer $Lsun/security/ssl/Authenticator$MAC; blockSize len dup
StackMapTable dispose getExplicitNonceSize calculateFragmentSize (II)I packetLimit
headerSize macLen fragLen calculatePacketSize fragmentSize paddedLen isCBCMode ()Z
SourceFile SSLCipher.java NestHost InnerClasses SSLWriteCipher ? 7sun/security/ssl/SSLCipher$T10BlockWriteCipherGenerator T10BlockWriteCipherGenerator BlockWriteCipher MAC ? sun/security/ssl/CipherSuite MacAlg 0 ? ? ? *+,? *-? ?
*?
? ? ? ? ? ? ? ? H ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?,? >*? ? !:? # ? '?
,? -?
*? ? 3*?
? 96,? <6,? @W? C? I? K? N? PY,? RS? V,? R:*?
,? Z?
? ^Y`? b?,? ? ?
? ^Ye? b?? +:? ^Y? iY? km? o*?
? s? w? o? }? ??? g ? ? g ? Z ? ? ? ? %? ,? 5? =? C? Q? Z? ^? a? g? v? ?? ?? ?? ?? ?? ?? ?? ? \ ? &