public class io.undertow.attribute.SslClientCertAttribute implements io.undertow.attribute.ExchangeAttribute
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.attribute.SslClientCertAttribute
super_class: java.lang.Object
{
public static final io.undertow.attribute.SslClientCertAttribute INSTANCE;
descriptor: Lio/undertow/attribute/SslClientCertAttribute;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.undertow.attribute.SslClientCertAttribute
dup
invokespecial io.undertow.attribute.SslClientCertAttribute.<init>:()V
putstatic io.undertow.attribute.SslClientCertAttribute.INSTANCE:Lio/undertow/attribute/SslClientCertAttribute;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/attribute/SslClientCertAttribute;
public java.lang.String readAttribute(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokevirtual io.undertow.server.ServerConnection.getSslSessionInfo:()Lio/undertow/server/SSLSessionInfo;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: io.undertow.server.SSLSessionInfo
StackMap stack:
aload 2
invokeinterface io.undertow.server.SSLSessionInfo.getPeerCertificateChain:()[Ljavax/security/cert/X509Certificate;
astore 3
start local 3 4: aload 3
arraylength
ifle 7
5: aload 3
iconst_0
aaload
invokestatic io.undertow.util.Certificates.toPem:(Ljavax/security/cert/X509Certificate;)Ljava/lang/String;
6: areturn
7: StackMap locals: javax.security.cert.X509Certificate[]
StackMap stack:
aconst_null
areturn
end local 3 8: StackMap locals: io.undertow.attribute.SslClientCertAttribute io.undertow.server.HttpServerExchange io.undertow.server.SSLSessionInfo
StackMap stack: javax.net.ssl.SSLPeerUnverifiedException
pop
9: aconst_null
areturn
10: StackMap locals:
StackMap stack: javax.security.cert.CertificateEncodingException
pop
11: aconst_null
areturn
12: StackMap locals:
StackMap stack: io.undertow.server.RenegotiationRequiredException
pop
13: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/undertow/attribute/SslClientCertAttribute;
0 14 1 exchange Lio/undertow/server/HttpServerExchange;
1 14 2 ssl Lio/undertow/server/SSLSessionInfo;
4 8 3 certificates [Ljavax/security/cert/X509Certificate;
Exception table:
from to target type
3 6 8 Class javax.net.ssl.SSLPeerUnverifiedException
3 6 10 Class javax.security.cert.CertificateEncodingException
3 6 12 Class io.undertow.server.RenegotiationRequiredException
MethodParameters:
Name Flags
exchange
public void writeAttribute(io.undertow.server.HttpServerExchange, java.lang.String);
descriptor: (Lio/undertow/server/HttpServerExchange;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.undertow.attribute.ReadOnlyAttributeException
dup
ldc "SSL Client Cert"
aload 2
invokespecial io.undertow.attribute.ReadOnlyAttributeException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/attribute/SslClientCertAttribute;
0 1 1 exchange Lio/undertow/server/HttpServerExchange;
0 1 2 newValue Ljava/lang/String;
Exceptions:
throws io.undertow.attribute.ReadOnlyAttributeException
MethodParameters:
Name Flags
exchange
newValue
}
SourceFile: "SslClientCertAttribute.java"
NestMembers:
io.undertow.attribute.SslClientCertAttribute$Builder
InnerClasses:
public final Builder = io.undertow.attribute.SslClientCertAttribute$Builder of io.undertow.attribute.SslClientCertAttribute