META-INF.modules.java.base.classes.sun.security.pkcs12.PKCS12KeyStore.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
???? :?
java/security/KeyStoreSpi ()V
"sun/security/pkcs12/PKCS12KeyStore counter I privateKeyCount secretKeyCount certificateCount certProtectionAlgorithm Ljava/lang/String; certPbeIterationCount macAlgorithm ! " macIterationCount $ java/util/LinkedHashMap
#
' ( ) * + java/util/Collections synchronizedMap (Ljava/util/Map;)Ljava/util/Map; - . / entries Ljava/util/Map; 1 java/util/ArrayList
0 4 5 6 keyList Ljava/util/ArrayList; 8 9 : allCerts Ljava/util/List; < = 6 certEntries ? @ A B C java/util/Locale ENGLISH Ljava/util/Locale;
E F G H I java/lang/String toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; K L M N O
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; Q (sun/security/pkcs12/PKCS12KeyStore$Entry S +sun/security/pkcs12/PKCS12KeyStore$KeyEntry U 2sun/security/pkcs12/PKCS12KeyStore$PrivateKeyEntry T W X Y protectedPrivKey [B [ 1sun/security/pkcs12/PKCS12KeyStore$SecretKeyEntry Z ] ^ Y protectedSecretKey ` 'java/security/UnrecoverableKeyException b Error locating key
_ d e (Ljava/lang/String;)V g )sun/security/pkcs/EncryptedPrivateKeyInfo
f i j ([B)V
f l m n getEncryptedData ()[B p sun/security/util/DerValue
f r s t getAlgorithm !()Lsun/security/x509/AlgorithmId;
v w x y n sun/security/x509/AlgorithmId encode
o i
o | } ~ toDerInputStream $()Lsun/security/util/DerInputStream;
? ? ? ? ? sun/security/util/DerInputStream getOID &()Lsun/security/util/ObjectIdentifier;
? ? ? parseAlgParameters k(Lsun/security/util/ObjectIdentifier;Lsun/security/util/DerInputStream;)Ljava/security/AlgorithmParameters; ? java/io/IOException ? java/lang/StringBuilder
? ? :Private key not stored as PKCS#8 EncryptedPrivateKeyInfo:
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
? ? ? ? toString ()Ljava/lang/String;
_ ? ? ? initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; ? "javax/crypto/spec/PBEParameterSpec
? ? ? ? ? !java/security/AlgorithmParameters getParameterSpec >(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec; ? 0java/security/spec/InvalidParameterSpecException ? Invalid PBE algorithm parameters
? d
? ? ? ? getIterationCount ()I LK@ ? !key PBE iteration count too large ? ? ? tryOnce ?(Lsun/security/pkcs12/PKCS12KeyStore;Lsun/security/util/ObjectIdentifier;Ljava/security/AlgorithmParameters;[BLsun/security/pkcs12/PKCS12KeyStore$Entry;Ljava/lang/String;I)Lsun/security/pkcs12/PKCS12KeyStore$RetryWithZero; ? ? ? ? ? 0sun/security/pkcs12/PKCS12KeyStore$RetryWithZero run H(Lsun/security/pkcs12/PKCS12KeyStore$RetryWithZero;[C)Ljava/lang/Object; ? java/security/Key ? java/lang/Exception ? Get Key failed:
? ? ? ?
getMessage T ? ? ? chain ![Ljava/security/cert/Certificate; ? ? ? debug Lsun/security/util/Debug; ? Retrieved a
? ? ? ? (I)Ljava/lang/StringBuilder; ? -certificate chain at alias ' ? '
? ? ? ? e sun/security/util/Debug println
? ? ? ? ? clone ()Ljava/lang/Object; ? ,sun/security/pkcs12/PKCS12KeyStore$CertEntry ? ? ? ? trustedKeyUsage %[Lsun/security/util/ObjectIdentifier; ? ? ? AnyUsage
? ? ? ? ? java/util/Arrays equals )([Ljava/lang/Object;[Ljava/lang/Object;)Z ? "Retrieved a certificate at alias ' ? ' (trusted for any purpose) ? ' (trusted for limited purposes) ? ? ? ? cert $Ljava/security/cert/X509Certificate; ? java/util/Date P ? ? ? date Ljava/util/Date;
? getTime ()J
? (J)V )java/security/KeyStore$PasswordProtection
([C)V
setKeyEntry ?(Ljava/lang/String;Ljava/security/Key;Ljava/security/KeyStore$PasswordProtection;[Ljava/security/cert/Certificate;Ljava/util/Set;)V
destroy *javax/security/auth/DestroyFailedException java/security/PrivateKey
checkX509Certs $([Ljava/security/cert/Certificate;)V
T
? T ? ? ? getFormat" PKCS#8
E$ ?% (Ljava/lang/Object;)Z' PKCS8) *Setting a protected private key at alias ' ?+, n
getEncoded
./0 encryptPrivateKey 1([BLjava/security/KeyStore$PasswordProtection;)[B2 java/security/KeyStoreException4 #Private key is not encodedas PKCS#8
1 d
789
validateChain $([Ljava/security/cert/Certificate;)Z; Certificate chain is not valid
? ?>
Setting a @ javax/crypto/SecretKey
Z Z ?D !sun/security/util/DerOutputStream
C
CGHI
putInteger (I)V ?K s ?
vM NN 3(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
vP yQ &(Lsun/security/util/DerOutputStream;)V
CST j putOctetString
CVWX write '(BLsun/security/util/DerOutputStream;)V
CZ[ n toByteArray] )Setting a protected secret key at alias '_ Unsupported Key typea java/util/HashSet
` Pdef
attributes Ljava/util/Set;hijkl
java/util/Set addAll (Ljava/util/Collection;)Zn Time
?p ?q (J)Ljava/lang/StringBuilder; stuvw !java/nio/charset/StandardCharsets UTF_8 Ljava/nio/charset/Charset;
Eyz{ getBytes (Ljava/nio/charset/Charset;)[B P}~ Y keyId P?? alias K??? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;? $Key protection algorithm not found:
1? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V? =Private key is not stored as PKCS#8 EncryptedPrivateKeyInfo: T} T?
? ? Y
? ? ??? random Ljava/security/SecureRandom;? java/security/SecureRandom
?
??? j nextBytes
?? n getSalt
?? ? ([BI)V
???? getInstance 7(Ljava/lang/String;)Ljava/security/AlgorithmParameters;
???? init .(Ljava/security/spec/AlgorithmParameterSpec;)V? "getPBEAlgorithmParameters failed:
??
??? ? available
???? getDerValue ()Lsun/security/util/DerValue; o??? tag B ??? pbes2_OID $Lsun/security/util/ObjectIdentifier;
?$? "sun/security/util/ObjectIdentifier? PBES2? PBE
oZ
??? j? parseAlgParameters failed: ? javax/crypto/spec/PBEKeySpec
?
????? javax/crypto/SecretKeyFactory 3(Ljava/lang/String;)Ljavax/crypto/SecretKeyFactory;
???? generateSecret 6(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;
???
clearPassword? getSecretKey failed:
?? ? getProtectionAlgorithm
??? getProtectionParameters -()Ljava/security/spec/AlgorithmParameterSpec;
?? ? defaultKeyPbeIterationCount
??? getPBEAlgorithmParameters 8(Ljava/lang/String;I)Ljava/security/AlgorithmParameters;
?? ? defaultKeyProtectionAlgorithm
??? mapPBEAlgorithmToOID 8(Ljava/lang/String;)Lsun/security/util/ObjectIdentifier;? PBE algorithm '? + 'is not supported for key entry protection
??? getPassword ()[C
??? getPBEKey ([C)Ljavax/crypto/SecretKey;
????? javax/crypto/Cipher )(Ljava/lang/String;)Ljavax/crypto/Cipher;
? ? :(ILjava/security/Key;Ljava/security/AlgorithmParameters;)V
? doFinal ([B)[B
?
getParameters %()Ljava/security/AlgorithmParameters;
v J(Lsun/security/util/ObjectIdentifier;Ljava/security/AlgorithmParameters;)V (Cipher algorithm:
?K )
f $(Lsun/security/x509/AlgorithmId;[B)V
f+ Encrypt Private Key failed: pbewithhmacsha
E
startsWith (Ljava/lang/String;)Z
v ?
? ?
v! " '(Lsun/security/util/ObjectIdentifier;)V
v$% ? getName
'() setCertEntry D(Ljava/lang/String;Ljava/security/cert/Certificate;Ljava/util/Set;)V+ "java/security/cert/X509Certificate- 9Only X.509 certificates are supported - rejecting class:
/0123 java/lang/Object getClass ()Ljava/lang/Class;
5$6 java/lang/Class8 Cannot overwrite own certificate
?: ; o(Ljava/security/cert/X509Certificate;[BLjava/lang/String;[Lsun/security/util/ObjectIdentifier;Ljava/util/Set;)V= (Setting a trusted certificate at alias '? Removing entry at alias ' KAB O remove KDEF keySet ()Ljava/util/Set;
'HIJ enumeration /(Ljava/util/Collection;)Ljava/util/Enumeration; KLM% containsKey KOP ? sizeR .java/security/KeyStore$TrustedCertificateEntry
TU engineIsCertificateEntryW &java/security/KeyStore$PrivateKeyEntryY %java/security/KeyStore$SecretKeyEntry
[\]
engineAliases ()Ljava/util/Enumeration;_`abc java/util/Enumeration hasMoreElements ()Z_ef ? nextElement
h$i java/security/cert/Certificate
CkW jm Storing o " protected key(s) in a PKCS#7 data
qr n createSafeContentt sun/security/pkcs/ContentInfo
s i
sP
xy ? defaultCertProtectionAlgorithm
{| ? defaultCertPbeIterationCount~ ) certificate(s) in a PKCS#7 encryptedData
??? createEncryptedData ([C)[B? NONE
E?? equalsIgnoreCase s??? ENCRYPTED_DATA_OID
s? ? C(Lsun/security/util/ObjectIdentifier;Lsun/security/util/DerValue;)V
?? ? defaultMacAlgorithm
?? ? defaultMacIterationCount
??? calculateMac ([C[B)[B
?k? java/io/OutputStream
??? flush
?? engineContainsAlias? *Retrieved a trusted certificate at alias '
???
getAttributes ;(Lsun/security/pkcs12/PKCS12KeyStore$Entry;)Ljava/util/Set;
Q? ? 2(Ljava/security/cert/Certificate;Ljava/util/Set;)V? #requested entry requires a password? 'java/lang/UnsupportedOperationException? 6trusted certificate entries are not password-protected
? d
?? engineIsKeyEntry
??? engineGetKey )(Ljava/lang/String;[C)Ljava/security/Key;
??? engineGetCertificateChain 5(Ljava/lang/String;)[Ljava/security/cert/Certificate;
V? ? M(Ljava/security/PrivateKey;[Ljava/security/cert/Certificate;Ljava/util/Set;)V
X? ? *(Ljavax/crypto/SecretKey;Ljava/util/Set;)V? 8untrusted certificate entries are not password-protected
? ? unsupported protection parameter
Q??? getTrustedCertificate "()Ljava/security/cert/Certificate;
Q??F? 4non-null password required to create PrivateKeyEntry
V???
getPrivateKey ()Ljava/security/PrivateKey;
V??? getCertificateChain #()[Ljava/security/cert/Certificate;
V?? 3non-null password required to create SecretKeyEntry
X??? getSecretKey ()Ljavax/crypto/SecretKey;
X?? unsupported entry type: ? java/security/PKCS12Attribute ??? PKCS9FriendlyName_OID
? ?
?? ? '(Ljava/lang/String;Ljava/lang/String;)Vh??% add ??? PKCS9LocalKeyId_OID
?? ?? ([B)Ljava/lang/String; ??? TrustedKeyUsage_OID
?? ?? '([Ljava/lang/Object;)Ljava/lang/String;
E??? substring (I)Ljava/lang/String;
?? ? javax/crypto/Mac &(Ljava/lang/String;)Ljavax/crypto/Mac;
?? A(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
? j update
? n sun/security/pkcs12/MacData
(Ljava/lang/String;[B[BI)V
+ calculateMac failed:
* getIssuerX500Principal *()Ljavax/security/auth/x500/X500Principal;
* getSubjectX500Principal
$ &javax/security/auth/x500/X500Principal
? asList %([Ljava/lang/Object;)Ljava/util/List;
`! " (Ljava/util/Collection;)VhO
%&' getBagAttributes L(Ljava/lang/String;[B[Lsun/security/util/ObjectIdentifier;Ljava/util/Set;)[B
C)*" putOID
C,- e putBMPStringh/01 iterator ()Ljava/util/Iterator;3456c java/util/Iterator hasNext389 ? next; &java/security/KeyStore$Entry$Attribute:$ >?@ CORE_ATTRIBUTES [Ljava/lang/String;
?+ CD? CertBag_OID FG? PKCS9CertType_OID
*+
oJKL createTag (BZB)B R? R} Rd
Q&R '(Ljava/lang/String;[BLjava/util/Set;)[B ?? ?} ?d
$
XYZ encryptContent ([B[C)[B \]? PKCS8ShroudedKeyBag_OID_ 8Private key not stored as PKCS#8 EncryptedPrivateKeyInfo
? ? bc?
SecretBag_OID sef? DATA_OID
ChiX
writeImplicitk 'Failed to encrypt safe contents entry:
om n (Ljava/io/InputStream;)V
?pq ?
getIntegers 'PKCS12 keystore not in version 3 format Kuv clear
sx y %(Lsun/security/util/DerInputStream;)V
s{| ? getContentType
s~ n getData? )public key protected PKCS12 not supported
? i
???? getSequence (I)[Lsun/security/util/DerValue;? Loading PKCS#7 data
??y loadSafeContents? AWarning: skipping PKCS#7 encryptedData - no password was supplied
s???
getContent
o ?
o??? isContextSpecific (B)Z? encrypted content not present!
o??c
isConstructed
o??? resetTag (B)V
o?? n getOctetString? "cert PBE iteration count too large
??? mapPBEParamsToAlgorithm [(Lsun/security/util/ObjectIdentifier;Ljava/security/AlgorithmParameters;)Ljava/lang/String;? Loading PKCS#7 encryptedData (?
iterations: ? ?? ?(Lsun/security/pkcs12/PKCS12KeyStore;Lsun/security/util/ObjectIdentifier;Ljava/security/AlgorithmParameters;[B)Lsun/security/pkcs12/PKCS12KeyStore$RetryWithZero;? keystore password was incorrect? 'failed to decrypt safe contents entry:
x
?? ?
getIterations? 0java/security/InvalidAlgorithmParameterException? MAC iteration count too large:
? d
?? ? getDigestAlgName
E?? I toUpperCase? -?
E??? replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;? HmacPBE
? ? ?? ?(Lsun/security/pkcs12/PKCS12KeyStore;Ljavax/crypto/Mac;Ljavax/crypto/spec/PBEParameterSpec;[BILsun/security/pkcs12/MacData;)Lsun/security/pkcs12/PKCS12KeyStore$RetryWithZero;? Integrity check failed:
0O
0??? toArray (([Ljava/lang/Object;)[Ljava/lang/Object;? 5[Lsun/security/pkcs12/PKCS12KeyStore$PrivateKeyEntry;
??? findMatchedCertificate Z(Lsun/security/pkcs12/PKCS12KeyStore$PrivateKeyEntry;)Ljava/security/cert/X509Certificate;
0??c isEmpty
0/
*$? QLoop detected in certificate chain. Skip adding repeated cert to chain. Subject:
?
0?
????? sun/security/tools/KeyStoreUtil isSelfSigned '(Ljava/security/cert/X509Certificate;)Z
???
findIssuer J(Ljava/security/cert/X509Certificate;)Ljava/security/cert/X509Certificate;? (PKCS12KeyStore load: private key count: ? . secret key count: ? . certificate count:
0u?u? java/util/List? 2.5.29.35
*??? getExtensionValue (Ljava/lang/String;)[B 1sun/security/x509/AuthorityKeyIdentifierExtension
java/lang/Boolean valueOf (Z)Ljava/lang/Boolean;
((Ljava/lang/Boolean;Ljava/lang/Object;)V
n getEncodedKeyIdentifier?/ 2.5.29.14
? ? ([B[B)Z java/io/FileInputStream
(Ljava/io/File;)V
close java/lang/Throwable
!
addSuppressed (Ljava/lang/Throwable;)V# "unsupported PKCS12 bag value type o%&' data "Lsun/security/util/DerInputStream;) #unsupported PKCS12 cert value type + X509
-./?0 %java/security/cert/CertificateFactory ;(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;2 java/io/ByteArrayInputStream
1 i
-567 generateCertificate 7(Ljava/io/InputStream;)Ljava/security/cert/Certificate;9 %unsupported PKCS12 secret value type ; Unsupported PKCS12 bag type:
?=>? getSet@
Attribute B should have a value
oDE ? getBMPString
? iH 01J 00
EL M ([BLjava/nio/charset/Charset;)V
OPQRS java/lang/Long parseLong (Ljava/lang/String;)J R ?
VW ? getUnfriendlyName
?Y Z ;(Ljava/security/cert/X509Certificate;[BLjava/lang/String;)V??
E]?_ java/io/DataInputStream
^m
^bc readLong efg PKCS12_HEADER_PATTERNS [[J ijg PKCS12_HEADER_MASKSl 'keystore.pkcs12.certProtectionAlgorithm
nopqr $sun/security/util/SecurityProperties privilegedGetOverridable &(Ljava/lang/String;)Ljava/lang/String;
E?u PBEWithSHA1AndRC2_40w %keystore.pkcs12.certPbeIterationCount
z{| string2IC '(Ljava/lang/String;Ljava/lang/String;)I ?P $sun/security/pkcs12/PKCS12KeyStore$1
~
????? java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;? PBEWithSHA1AndDESede? $keystore.pkcs12.keyPbeIterationCount? keyPbeIterationCount? keystore.pkcs12.macAlgorithm? HmacPBESHA1? !keystore.pkcs12.macIterationCount " ??
????? java/lang/Integer parseInt (Ljava/lang/String;)I? java/lang/NumberFormatException? "java/lang/IllegalArgumentException? keystore.pkcs12.? is not a number:
? d? Invalid keystore.pkcs12.? : ? Checking keystore integrity (
?K
?? n getDigest
???? java/security/MessageDigest isEqual? Failed PKCS12 integrity checking? java/lang/Void
????? java/security/KeyFactory .(Ljava/lang/String;)Ljava/security/KeyFactory;? &java/security/spec/PKCS8EncodedKeySpec
? i
???? generatePrivate 8(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;? ,Retrieved a protected private key at alias '? ' (
??? javax/crypto/spec/SecretKeySpec
?? ? ([BLjava/lang/String;)V
????
getKeySpec G(Ljavax/crypto/SecretKey;Ljava/lang/Class;)Ljava/security/spec/KeySpec;? +Retrieved a protected secret key at alias '? 1.2.840.113549.1.9.20? 1.2.840.113549.1.9.21? 2.16.840.1.113894.746875.1.1? pkcs12
???? -(Ljava/lang/String;)Lsun/security/util/Debug; ?? ??? keyBag [I ??? certBag ??? secretBag ??? pkcs9Name ???
pkcs9KeyId ???
pkcs9certType ??? pbes2 ?? e{ ??? TrustedKeyUsage ??? AnyExtendedKeyUsage
?? ? ([I)V java/lang/AssertionError OID not initialized
? [J0?0? *?H??
??$? 0? 0? *?H??
??0 0 ? 0? 0? *?H??
?? ? *?H??
?? 0? 0? *?H??
?0? *?H??
0? 0? *?H??
0? ??????????????? ?? ????? ?????????????? ???? ???? ? ?? ????? ????????????? ?? ???????? ????? ????? ????? ? VERSION_3
ConstantValue MAX_ITERATION_COUNT SALT_LEN Signature MLjava/util/Map; DLjava/util/ArrayList; 6Ljava/util/List; ELjava/util/ArrayList; Code LineNumberTable LocalVariableTable this $Lsun/security/pkcs12/PKCS12KeyStore; encrInfo +Lsun/security/pkcs/EncryptedPrivateKeyInfo; val Lsun/security/util/DerValue; in encryptedKey algParams #Ljava/security/AlgorithmParameters; algOid uke )Ljava/security/UnrecoverableKeyException; ioe Ljava/io/IOException; pbeSpec $Ljavax/crypto/spec/PBEParameterSpec; ipse 2Ljava/security/spec/InvalidParameterSpecException; ic e Ljava/lang/Exception; password [C entry *Lsun/security/pkcs12/PKCS12KeyStore$Entry; key Ljava/security/Key; encrBytes
StackMapTablev
Exceptions? &java/security/NoSuchAlgorithmException engineGetCertificate 4(Ljava/lang/String;)Ljava/security/cert/Certificate; engineGetCreationDate $(Ljava/lang/String;)Ljava/util/Date; engineSetKeyEntry K(Ljava/lang/String;Ljava/security/Key;[C[Ljava/security/cert/Certificate;)V passwordProtection +Ljava/security/KeyStore$PasswordProtection; keyEntry 4Lsun/security/pkcs12/PKCS12KeyStore$PrivateKeyEntry; 3Lsun/security/pkcs12/PKCS12KeyStore$SecretKeyEntry; pkcs8 #Lsun/security/util/DerOutputStream;
secretKeyInfo algId Lsun/security/x509/AlgorithmId; kse !Ljava/security/KeyStoreException; nsae LocalVariableTypeTable 9Ljava/util/Set; ?(Ljava/lang/String;Ljava/security/Key;Ljava/security/KeyStore$PasswordProtection;[Ljava/security/cert/Certificate;Ljava/util/Set;)V 8(Ljava/lang/String;[B[Ljava/security/cert/Certificate;)V salt algorithm iterationCount paramSpec params keySpec Ljavax/crypto/spec/PBEKeySpec; skFac Ljavax/crypto/SecretKeyFactory; skey Ljavax/crypto/SecretKey; algParamSpec +Ljava/security/spec/AlgorithmParameterSpec; algid pbeOID cipher Ljavax/crypto/Cipher;? )java/security/spec/AlgorithmParameterSpec engineSetCertificateEntry 5(Ljava/lang/String;Ljava/security/cert/Certificate;)V Ljava/security/cert/Certificate; certEntry .Lsun/security/pkcs12/PKCS12KeyStore$CertEntry; n(Ljava/lang/String;Ljava/security/cert/Certificate;Ljava/util/Set;)V engineDeleteEntry -()Ljava/util/Enumeration;
engineSize engineEntryInstanceOf &(Ljava/lang/String;Ljava/lang/Class;)Z
entryClass Ljava/lang/Class; 2Ljava/lang/Class<+Ljava/security/KeyStore$Entry;>; G(Ljava/lang/String;Ljava/lang/Class<+Ljava/security/KeyStore$Entry;>;)Z engineGetCertificateAlias 4(Ljava/security/cert/Certificate;)Ljava/lang/String; Ljava/util/Enumeration; certElem +Ljava/util/Enumeration; engineStore (Ljava/io/OutputStream;[C)V safeContentData dataContentInfo Lsun/security/pkcs/ContentInfo; encrContentInfo encrData macData stream Ljava/io/OutputStream; pfx version
pfxVersion authSafe authSafeContentInfo cInfo authenticatedSafe contentInfo authSafeData pfxout pfxData? 'java/security/cert/CertificateException engineGetEntry ^(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry; pp protParam ,Ljava/security/KeyStore$ProtectionParameter;? )java/security/UnrecoverableEntryException engineSetEntry _(Ljava/lang/String;Ljava/security/KeyStore$Entry;Ljava/security/KeyStore$ProtectionParameter;)V tce 0Ljava/security/KeyStore$TrustedCertificateEntry; pke (Ljava/security/KeyStore$PrivateKeyEntry; ske 'Ljava/security/KeyStore$SecretKeyEntry; Ljava/security/KeyStore$Entry; pProtect trustedKeyUsageValue
keyIdValue ? e(Lsun/security/pkcs12/PKCS12KeyStore$Entry;)Ljava/util/Set; m Ljavax/crypto/Mac; macResult Lsun/security/pkcs12/MacData; bytes passwd mData algName issuerDN (Ljavax/security/auth/x500/X500Principal; subjectDN i certChain set 1Ljava/util/Set; certs Q(Ljava/lang/String;[BLjava/util/Set;)[B bagAttr1 bagAttrContent1
bagAttrValue1 bagAttr2 bagAttrContent2
bagAttrValue2 usage bagAttr3 bagAttrContent3
bagAttrValue3
attributeName attribute (Ljava/security/KeyStore$Entry$Attribute; trustedUsage
localKeyID friendlyName bagAttrs attrs v(Ljava/lang/String;[B[Lsun/security/util/ObjectIdentifier;Ljava/util/Set;)[B -Lsun/security/pkcs12/PKCS12KeyStore$KeyEntry; safeBag certValue certout certBagValue bagValue encrDataContent out safeBagValue safeBagData secretKeyValue secretBagSeq secretBagValue encodedAlgId bytes2 tmpout2
encryptedData
engineLoad (Ljava/io/InputStream;[C)V edi edVersion seq [Lsun/security/util/DerValue;
edContentType newTag rawData safeContents sci eAlgId chainCert Ljava/io/InputStream; s contentType as safeContentsArray count seeEncBag Z list ;Ljava/util/ArrayList;8 java/io/InputStream% subjectIdExtension subjectId input fallback issuerPrinc issuerIdExtension issuerId isPasswordless (Ljava/io/File;)Z Ljava/io/FileInputStream; f Ljava/io/File;G java/io/File ce
keyIdMatch
aliasMatch kEntry cs
certValues certId cf 'Ljava/security/cert/CertificateFactory; ss secretValues secretId secretValue attrSet valSet k encoded attrSeq attrId vs j keyIdStr bagId sbi bagItem Ljava/lang/Object; safeBags 0Ljava/util/Set; engineProbe (Ljava/io/InputStream;)Z
dataStream Ljava/io/DataInputStream; firstPeek J nextPeek finalPeek result number !Ljava/lang/NumberFormatException; type value lambda$engineLoad$2 j(Ljavax/crypto/Mac;Ljavax/crypto/spec/PBEParameterSpec;[BILsun/security/pkcs12/MacData;[C)Ljava/lang/Void; pass lambda$engineLoad$1 _(Lsun/security/util/ObjectIdentifier;Ljava/security/AlgorithmParameters;[B[C)Ljava/lang/Object; lambda$engineGetKey$0 ?(Lsun/security/util/ObjectIdentifier;Ljava/security/AlgorithmParameters;[BLsun/security/pkcs12/PKCS12KeyStore$Entry;Ljava/lang/String;I[C)Ljava/security/Key; kfac Ljava/security/KeyFactory; kspec (Ljava/security/spec/PKCS8EncodedKeySpec; tmp sKeyFactory
pbeKeySpec Ljava/security/spec/KeySpec; keyBytes
secretKeySpec !Ljavax/crypto/spec/SecretKeySpec; keyInfo keyAlgo
SourceFile PKCS12KeyStore.java NestMembers? 3sun/security/pkcs12/PKCS12KeyStore$DualFormatPKCS12 BootstrapMethods?
????? "java/lang/invoke/LambdaMetafactory metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;? ([C)Ljava/lang/Object;?
?vw? ([C)Ljava/security/Key;?
?tu?
?qr? ([C)Ljava/lang/Void; InnerClasses Entry KeyEntry PrivateKeyEntry SecretKeyEntry
RetryWithZero CertEntry? java/security/KeyStore PasswordProtection TrustedCertificateEntry? java/security/KeyStore$Entry Attribute DualFormatPKCS12? *java/security/KeyStore$ProtectionParameter ProtectionParameter? %java/lang/invoke/MethodHandles$Lookup? java/lang/invoke/MethodHandles Lookup 1 &