public class io.vertx.core.net.PemTrustOptions implements io.vertx.core.net.TrustOptions, java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.net.PemTrustOptions
super_class: java.lang.Object
{
private io.vertx.core.net.impl.KeyStoreHelper helper;
descriptor: Lio/vertx/core/net/impl/KeyStoreHelper;
flags: (0x0002) ACC_PRIVATE
private java.util.ArrayList<java.lang.String> certPaths;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/lang/String;>;
private java.util.ArrayList<io.vertx.core.buffer.Buffer> certValues;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lio/vertx/core/buffer/Buffer;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.core.net.PemTrustOptions.certPaths:Ljava/util/ArrayList;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.core.net.PemTrustOptions.certValues:Ljava/util/ArrayList;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/PemTrustOptions;
public void <init>(io.vertx.core.net.PemTrustOptions);
descriptor: (Lio/vertx/core/net/PemTrustOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
aload 1
invokevirtual io.vertx.core.net.PemTrustOptions.getCertPaths:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield io.vertx.core.net.PemTrustOptions.certPaths:Ljava/util/ArrayList;
2: aload 0
new java.util.ArrayList
dup
aload 1
invokevirtual io.vertx.core.net.PemTrustOptions.getCertValues:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield io.vertx.core.net.PemTrustOptions.certValues:Ljava/util/ArrayList;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/PemTrustOptions;
0 4 1 other Lio/vertx/core/net/PemTrustOptions;
MethodParameters:
Name Flags
other
public void <init>(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.vertx.core.net.PemTrustOptions.<init>:()V
1: aload 1
aload 0
invokestatic io.vertx.core.net.PemTrustOptionsConverter.fromJson:(Ljava/lang/Iterable;Lio/vertx/core/net/PemTrustOptions;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/PemTrustOptions;
0 3 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
json
public io.vertx.core.json.JsonObject toJson();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic io.vertx.core.net.PemTrustOptionsConverter.toJson:(Lio/vertx/core/net/PemTrustOptions;Lio/vertx/core/json/JsonObject;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/PemTrustOptions;
1 3 1 json Lio/vertx/core/json/JsonObject;
public java.util.List<java.lang.String> getCertPaths();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.PemTrustOptions.certPaths:Ljava/util/ArrayList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/PemTrustOptions;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public io.vertx.core.net.PemTrustOptions addCertPath(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/net/PemTrustOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "No null certificate accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ldc "No empty certificate path accepted"
invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
4: aload 0
getfield io.vertx.core.net.PemTrustOptions.certPaths:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/net/PemTrustOptions;
0 6 1 certPath Ljava/lang/String;
Exceptions:
throws java.lang.NullPointerException
MethodParameters:
Name Flags
certPath
public java.util.List<io.vertx.core.buffer.Buffer> getCertValues();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.PemTrustOptions.certValues:Ljava/util/ArrayList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/PemTrustOptions;
Signature: ()Ljava/util/List<Lio/vertx/core/buffer/Buffer;>;
public io.vertx.core.net.PemTrustOptions addCertValue(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/net/PemTrustOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "No null certificate accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.core.net.PemTrustOptions.certValues:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/PemTrustOptions;
0 3 1 certValue Lio/vertx/core/buffer/Buffer;
Exceptions:
throws java.lang.NullPointerException
MethodParameters:
Name Flags
certValue
public java.security.KeyStore loadKeyStore(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Ljava/security/KeyStore;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.net.PemTrustOptions.getHelper:(Lio/vertx/core/Vertx;)Lio/vertx/core/net/impl/KeyStoreHelper;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual io.vertx.core.net.impl.KeyStoreHelper.store:()Ljava/security/KeyStore;
goto 3
StackMap locals: io.vertx.core.net.impl.KeyStoreHelper
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.security.KeyStore
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/PemTrustOptions;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 helper Lio/vertx/core/net/impl/KeyStoreHelper;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
vertx
public javax.net.ssl.TrustManagerFactory getTrustManagerFactory(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Ljavax/net/ssl/TrustManagerFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.net.PemTrustOptions.getHelper:(Lio/vertx/core/Vertx;)Lio/vertx/core/net/impl/KeyStoreHelper;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
aload 1
checkcast io.vertx.core.impl.VertxInternal
invokevirtual io.vertx.core.net.impl.KeyStoreHelper.getTrustMgrFactory:(Lio/vertx/core/impl/VertxInternal;)Ljavax/net/ssl/TrustManagerFactory;
goto 3
StackMap locals: io.vertx.core.net.impl.KeyStoreHelper
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: javax.net.ssl.TrustManagerFactory
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/PemTrustOptions;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 helper Lio/vertx/core/net/impl/KeyStoreHelper;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
vertx
public java.util.function.Function<java.lang.String, javax.net.ssl.TrustManager[]> trustManagerMapper(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Ljava/util/function/Function;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.net.PemTrustOptions.getHelper:(Lio/vertx/core/Vertx;)Lio/vertx/core/net/impl/KeyStoreHelper;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Lio/vertx/core/net/impl/KeyStoreHelper;)Ljava/util/function/Function;
Bootstrap: invokestatic 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;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/core/net/impl/KeyStoreHelper.getTrustMgr(Ljava/lang/String;)[Ljavax/net/ssl/TrustManager; (5)
(Ljava/lang/String;)[Ljavax/net/ssl/TrustManager;
goto 3
StackMap locals: io.vertx.core.net.impl.KeyStoreHelper
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.util.function.Function
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/PemTrustOptions;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 helper Lio/vertx/core/net/impl/KeyStoreHelper;
Exceptions:
throws java.lang.Exception
Signature: (Lio/vertx/core/Vertx;)Ljava/util/function/Function<Ljava/lang/String;[Ljavax/net/ssl/TrustManager;>;
MethodParameters:
Name Flags
vertx
public io.vertx.core.net.PemTrustOptions copy();
descriptor: ()Lio/vertx/core/net/PemTrustOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.core.net.PemTrustOptions
dup
aload 0
invokespecial io.vertx.core.net.PemTrustOptions.<init>:(Lio/vertx/core/net/PemTrustOptions;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/PemTrustOptions;
io.vertx.core.net.impl.KeyStoreHelper getHelper(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Lio/vertx/core/net/impl/KeyStoreHelper;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.net.PemTrustOptions.helper:Lio/vertx/core/net/impl/KeyStoreHelper;
ifnonnull 8
1: aload 0
getfield io.vertx.core.net.PemTrustOptions.certPaths:Ljava/util/ArrayList;
2: invokevirtual java.util.ArrayList.stream:()Ljava/util/stream/Stream;
3: aload 1
invokedynamic apply(Lio/vertx/core/Vertx;)Ljava/util/function/Function;
Bootstrap: invokestatic 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;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/core/net/PemTrustOptions.lambda$1(Lio/vertx/core/Vertx;Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: aload 1
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Lio/vertx/core/file/FileSystem;)Ljava/util/function/Function;
Bootstrap: invokestatic 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;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/core/file/FileSystem.readFileBlocking(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer; (9 itf)
(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
5: astore 2
start local 2 6: aload 2
aload 0
getfield io.vertx.core.net.PemTrustOptions.certValues:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.stream:()Ljava/util/stream/Stream;
invokestatic java.util.stream.Stream.concat:(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
astore 2
7: aload 0
new io.vertx.core.net.impl.KeyStoreHelper
dup
aload 2
invokestatic io.vertx.core.net.impl.KeyStoreHelper.loadCA:(Ljava/util/stream/Stream;)Ljava/security/KeyStore;
aconst_null
invokespecial io.vertx.core.net.impl.KeyStoreHelper.<init>:(Ljava/security/KeyStore;Ljava/lang/String;)V
putfield io.vertx.core.net.PemTrustOptions.helper:Lio/vertx/core/net/impl/KeyStoreHelper;
end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.PemTrustOptions.helper:Lio/vertx/core/net/impl/KeyStoreHelper;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/net/PemTrustOptions;
0 9 1 vertx Lio/vertx/core/Vertx;
6 8 2 certValues Ljava/util/stream/Stream<Lio/vertx/core/buffer/Buffer;>;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
vertx
public io.vertx.core.net.TrustOptions copy();
descriptor: ()Lio/vertx/core/net/TrustOptions;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.vertx.core.net.PemTrustOptions.copy:()Lio/vertx/core/net/PemTrustOptions;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$1(io.vertx.core.Vertx, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
checkcast io.vertx.core.impl.VertxInternal
aload 1
invokeinterface io.vertx.core.impl.VertxInternal.resolveFile:(Ljava/lang/String;)Ljava/io/File;
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 path Ljava/lang/String;
}
SourceFile: "PemTrustOptions.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.DataObject(generateConverter = true, publicConverter = false)