public class org.eclipse.jetty.util.security.Credential$Crypt extends org.eclipse.jetty.util.security.Credential
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.security.Credential$Crypt
super_class: org.eclipse.jetty.util.security.Credential
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2027792997664744210
private static final java.lang.String __TYPE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "CRYPT:"
private final java.lang.String _cooked;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.util.security.Credential.<init>:()V
1: aload 0
aload 1
ldc "CRYPT:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
aload 1
ldc "CRYPT:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 3
StackMap locals: org.eclipse.jetty.util.security.Credential$Crypt java.lang.String
StackMap stack: org.eclipse.jetty.util.security.Credential$Crypt
2: aload 1
StackMap locals: org.eclipse.jetty.util.security.Credential$Crypt java.lang.String
StackMap stack: org.eclipse.jetty.util.security.Credential$Crypt java.lang.String
3: putfield org.eclipse.jetty.util.security.Credential$Crypt._cooked:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/security/Credential$Crypt;
0 5 1 cooked Ljava/lang/String;
MethodParameters:
Name Flags
cooked
public boolean check(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof char[]
ifeq 2
1: new java.lang.String
dup
aload 1
checkcast char[]
invokespecial java.lang.String.<init>:([C)V
astore 1
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifne 4
aload 1
instanceof org.eclipse.jetty.util.security.Password
ifne 4
3: getstatic org.eclipse.jetty.util.security.Credential.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "Can't check "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " against CRYPT"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.security.Credential$Crypt._cooked:Ljava/lang/String;
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.util.security.Credential$Crypt._cooked:Ljava/lang/String;
invokestatic org.eclipse.jetty.util.security.UnixCrypt.crypt:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic org.eclipse.jetty.util.security.Credential$Crypt.stringEquals:(Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/security/Credential$Crypt;
0 5 1 credentials Ljava/lang/Object;
MethodParameters:
Name Flags
credentials
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.eclipse.jetty.util.security.Credential$Crypt
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.eclipse.jetty.util.security.Credential$Crypt
astore 2
start local 2 3: aload 0
getfield org.eclipse.jetty.util.security.Credential$Crypt._cooked:Ljava/lang/String;
aload 2
getfield org.eclipse.jetty.util.security.Credential$Crypt._cooked:Ljava/lang/String;
invokestatic org.eclipse.jetty.util.security.Credential$Crypt.stringEquals:(Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/security/Credential$Crypt;
0 4 1 credential Ljava/lang/Object;
3 4 2 c Lorg/eclipse/jetty/util/security/Credential$Crypt;
MethodParameters:
Name Flags
credential
public static java.lang.String crypt(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "CRYPT:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 0
invokestatic org.eclipse.jetty.util.security.UnixCrypt.crypt:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 user Ljava/lang/String;
0 1 1 pw Ljava/lang/String;
MethodParameters:
Name Flags
user
pw
}
SourceFile: "Credential.java"
NestHost: org.eclipse.jetty.util.security.Credential
InnerClasses:
public Crypt = org.eclipse.jetty.util.security.Credential$Crypt of org.eclipse.jetty.util.security.Credential