class io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser extends java.lang.Object
{
private static final int UNIVERSAL;
private static final int APPLICATION;
private static final int CONTEXT;
private static final int PRIVATE;
private static final int CONSTRUCTED;
private static final int ANY;
private static final int BOOLEAN;
private static final int INTEGER;
private static final int BIT_STRING;
private static final int OCTET_STRING;
private static final int NULL;
private static final int OBJECT_IDENTIFIER;
private static final int REAL;
private static final int ENUMERATED;
private static final int SEQUENCE;
private static final int SET;
private static final int NUMERIC_STRING;
private static final int PRINTABLE_STRING;
private static final int VIDEOTEX_STRING;
private static final int IA5_STRING;
private static final int GRAPHIC_STRING;
private static final int ISO646_STRING;
private static final int GENERAL_STRING;
private static final int UTF8_STRING;
private static final int UNIVERSAL_STRING;
private static final int BMP_STRING;
private static final int UTC_TIME;
private io.vertx.core.buffer.Buffer in;
private int pos;
void <init>(io.vertx.core.buffer.Buffer) throws io.vertx.core.VertxException
{
io.vertx.core.buffer.Buffer v;
io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser v;
v := @this: io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser;
v := @parameter: io.vertx.core.buffer.Buffer;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: io.vertx.core.buffer.Buffer in> = v;
return;
}
void <init>(byte[]) throws io.vertx.core.VertxException
{
byte[] v;
io.vertx.core.buffer.Buffer v;
io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser v;
v := @this: io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser;
v := @parameter: byte[];
v = staticinvoke <io.vertx.core.buffer.Buffer: io.vertx.core.buffer.Buffer buffer(byte[])>(v);
specialinvoke v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: void <init>(io.vertx.core.buffer.Buffer)>(v);
return;
}
private int readByte() throws io.vertx.core.VertxException
{
io.vertx.core.VertxException v;
short v;
io.vertx.core.buffer.Buffer v, v;
io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser v;
int v, v, v, v, v;
v := @this: io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser;
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int pos>;
v = v + 1;
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: io.vertx.core.buffer.Buffer in>;
v = interfaceinvoke v.<io.vertx.core.buffer.Buffer: int length()>();
if v < v goto label;
v = new io.vertx.core.VertxException;
specialinvoke v.<io.vertx.core.VertxException: void <init>(java.lang.String)>("Invalid DER: stream too short, missing tag");
throw v;
label:
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: io.vertx.core.buffer.Buffer in>;
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int pos>;
v = v + 1;
v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int pos> = v;
v = interfaceinvoke v.<io.vertx.core.buffer.Buffer: short getUnsignedByte(int)>(v);
return v;
}
private byte[] readBytes(int) throws io.vertx.core.VertxException
{
io.vertx.core.VertxException v;
byte[] v;
io.vertx.core.buffer.Buffer v, v, v;
io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser v;
int v, v, v, v, v, v, v, v, v;
v := @this: io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser;
v := @parameter: int;
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int pos>;
v = v + v;
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: io.vertx.core.buffer.Buffer in>;
v = interfaceinvoke v.<io.vertx.core.buffer.Buffer: int length()>();
if v <= v goto label;
v = new io.vertx.core.VertxException;
specialinvoke v.<io.vertx.core.VertxException: void <init>(java.lang.String)>("Invalid DER: stream too short, missing tag");
throw v;
label:
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: io.vertx.core.buffer.Buffer in>;
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int pos>;
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int pos>;
v = v + v;
v = interfaceinvoke v.<io.vertx.core.buffer.Buffer: io.vertx.core.buffer.Buffer slice(int,int)>(v, v);
v = v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int pos>;
v = v + v;
v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int pos> = v;
v = interfaceinvoke v.<io.vertx.core.buffer.Buffer: byte[] getBytes()>();
return v;
}
public io.vertx.core.net.impl.pkcs.PrivateKeyParser$Asn1Object read() throws io.vertx.core.VertxException
{
byte[] v;
io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser v;
int v, v;
io.vertx.core.net.impl.pkcs.PrivateKeyParser$Asn1Object v;
v := @this: io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser;
v = specialinvoke v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int readByte()>();
v = specialinvoke v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int getLength()>();
v = specialinvoke v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: byte[] readBytes(int)>(v);
v = new io.vertx.core.net.impl.pkcs.PrivateKeyParser$Asn1Object;
specialinvoke v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$Asn1Object: void <init>(int,int,byte[])>(v, v, v);
return v;
}
private int getLength() throws io.vertx.core.VertxException
{
io.vertx.core.VertxException v;
byte[] v;
io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser v;
int v, v, v, v, v;
java.math.BigInteger v;
java.lang.String v;
v := @this: io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser;
v = specialinvoke v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: int readByte()>();
v = (int) -128;
v = v & v;
if v != 0 goto label;
return v;
label:
v = v & 127;
if v >= 255 goto label;
if v <= 4 goto label;
label:
v = new io.vertx.core.VertxException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Invalid DER: length field too big (\u)");
specialinvoke v.<io.vertx.core.VertxException: void <init>(java.lang.String)>(v);
throw v;
label:
v = specialinvoke v.<io.vertx.core.net.impl.pkcs.PrivateKeyParser$DerParser: byte[] readBytes(int)>(v);
v = new java.math.BigInteger;
specialinvoke v.<java.math.BigInteger: void <init>(int,byte[])>(1, v);
v = virtualinvoke v.<java.math.BigInteger: int intValue()>();
return v;
}
}