public final class org.bouncycastle.crypto.params.X25519PublicKeyParameters extends org.bouncycastle.crypto.params.AsymmetricKeyParameter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.bouncycastle.crypto.params.X25519PublicKeyParameters
super_class: org.bouncycastle.crypto.params.AsymmetricKeyParameter
{
public static final int KEY_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private final byte[] data;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
invokespecial org.bouncycastle.crypto.params.AsymmetricKeyParameter.<init>:(Z)V
1: aload 0
bipush 32
newarray 8
putfield org.bouncycastle.crypto.params.X25519PublicKeyParameters.data:[B
2: aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.params.X25519PublicKeyParameters.data:[B
iconst_0
bipush 32
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/params/X25519PublicKeyParameters;
0 4 1 buf [B
0 4 2 off I
MethodParameters:
Name Flags
buf
off
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokespecial org.bouncycastle.crypto.params.AsymmetricKeyParameter.<init>:(Z)V
1: aload 0
bipush 32
newarray 8
putfield org.bouncycastle.crypto.params.X25519PublicKeyParameters.data:[B
2: bipush 32
aload 1
aload 0
getfield org.bouncycastle.crypto.params.X25519PublicKeyParameters.data:[B
invokestatic org.bouncycastle.util.io.Streams.readFully:(Ljava/io/InputStream;[B)I
if_icmpeq 4
3: new java.io.EOFException
dup
ldc "EOF encountered in middle of X25519 public key"
invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.bouncycastle.crypto.params.X25519PublicKeyParameters java.io.InputStream
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/params/X25519PublicKeyParameters;
0 5 1 input Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
public void encode(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.crypto.params.X25519PublicKeyParameters.data:[B
iconst_0
aload 1
iload 2
bipush 32
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/params/X25519PublicKeyParameters;
0 2 1 buf [B
0 2 2 off I
MethodParameters:
Name Flags
buf
off
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.params.X25519PublicKeyParameters.data:[B
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/X25519PublicKeyParameters;
}
SourceFile: "X25519PublicKeyParameters.java"