META-INF.modules.java.base.classes.sun.security.provider.DomainKeyStore.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
???? :o
java/security/KeyStoreSpi ()V
$sun/security/provider/DomainKeyStore
streamCounter I entryNameSeparator Ljava/lang/String; entryNameSeparatorRegEx java/util/HashMap
keystores Ljava/util/Map;
getKeystoresForReading 7(Ljava/lang/String;)Ljava/util/AbstractMap$SimpleEntry;
" # $ % & !java/util/AbstractMap$SimpleEntry getKey ()Ljava/lang/Object; ( java/lang/String
" * + & getValue - java/util/Collection , / 0 1 iterator ()Ljava/util/Iterator; 3 4 5 6 7 java/util/Iterator hasNext ()Z 3 9 : & next < java/security/KeyStore
; > % ? )(Ljava/lang/String;[C)Ljava/security/Key; A java/security/KeyStoreException C java/lang/IllegalStateException
B E F (Ljava/lang/Throwable;)V
; H I J getCertificateChain 5(Ljava/lang/String;)[Ljava/security/cert/Certificate;
; L M N getCertificate 4(Ljava/lang/String;)Ljava/security/cert/Certificate;
; P Q R getCreationDate $(Ljava/lang/String;)Ljava/util/Date;
T U getKeystoreForWriting W java/lang/StringBuilder
V Z Error setting key entry for '
V \ ] ^ append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ` '
V b c d toString ()Ljava/lang/String;
@ f g (Ljava/lang/String;)V i java/util/Map$Entry h *
; l m n setKeyEntry K(Ljava/lang/String;Ljava/security/Key;[C[Ljava/security/cert/Certificate;)V p 'Error setting protected key entry for '
; r m s 8(Ljava/lang/String;[B[Ljava/security/cert/Certificate;)V u %Error setting certificate entry for '
; w x y setCertificateEntry 5(Ljava/lang/String;Ljava/security/cert/Certificate;)V { Error deleting entry for '
; } ~ g deleteEntry ? ? ? ? ?
java/util/Map entrySet ()Ljava/util/Set; ? / ?
java/util/Set ? &sun/security/provider/DomainKeyStore$1
? ? ? =(Lsun/security/provider/DomainKeyStore;Ljava/util/Iterator;)V
; ? ? ?
containsAlias (Ljava/lang/String;)Z ? ? ? ? values ()Ljava/util/Collection;
; ? ? ? size ()I
; ? ? ?
isKeyEntry
; ? ? ? isCertificateEntry
' ? ? ? split ((Ljava/lang/String;I)[Ljava/lang/String; ? ? ? ? get &(Ljava/lang/Object;)Ljava/lang/Object;
? ? ? ? ? java/util/Collections singleton #(Ljava/lang/Object;)Ljava/util/Set;
" ? ? '(Ljava/lang/Object;Ljava/lang/Object;)V ?
? ? ? ? emptyList ()Ljava/util/List;
; ? ? ? getCertificateAlias 4(Ljava/security/cert/Certificate;)Ljava/lang/String; ? ?
; ? ? ? store (Ljava/io/OutputStream;[C)V ? 'java/lang/UnsupportedOperationException ? =This keystore must be stored using a DomainLoadStoreParameter
? f ? &java/security/DomainLoadStoreParameter
? ? ? ? getConfiguration ()Ljava/net/URI;
? ? ? ? getProtectionParams ()Ljava/util/Map;
? ? ? getBuilders /(Ljava/net/URI;Ljava/util/Map;)Ljava/util/List; ? / ? java/util/List ? >sun/security/provider/DomainKeyStore$KeyStoreBuilderComponents ? ? ? ?
protection ,Ljava/security/KeyStore$ProtectionParameter; ? )java/security/KeyStore$PasswordProtection ? "java/lang/IllegalArgumentException ? 9ProtectionParameter must be a KeyStore.PasswordProtection
? f
@ E
? ? ? ? getPassword ()[C ? ? ? name ? java/io/FileOutputStream ? ? ? ? file Ljava/io/File;
? ? ? (Ljava/io/File;)V
? ? ? close ? java/lang/Throwable
? ? ? F
addSuppressed ? java/io/IOException
? E ? JKS
; getInstance ,(Ljava/lang/String;)Ljava/security/KeyStore;
; load (Ljava/io/InputStream;[C)V java/lang/Exception DEFAULT_KEYSTORE_TYPE
' ? equalsIgnoreCase iostream
V ] (I)Ljava/lang/StringBuilder; ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; =This keystore must be loaded using a DomainLoadStoreParameter ? type ? ! provider Ljava/security/Provider;
#$%&' java/security/KeyStore$Builder newInstance ?(Ljava/lang/String;Ljava/security/Provider;Ljava/io/File;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Builder;
#)*+ getKeyStore ()Ljava/security/KeyStore;
#-&. x(Ljava/lang/String;Ljava/security/Provider;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Builder;0 "sun/security/provider/PolicyParser
/2 3 (Z)V5 java/util/ArrayList
4
89:; d java/net/URI getFragment= java/io/InputStreamReader
8?@A toURL ()Ljava/net/URL;
CDEFG sun/security/util/PolicyUtil getInputStream %(Ljava/net/URL;)Ljava/io/InputStream; IJKLM !java/nio/charset/StandardCharsets UTF_8 Ljava/nio/charset/Charset;
<O P 2(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
/RST read (Ljava/io/Reader;)V
/VW ? getDomainEntries
<