Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.params
Class X25519PublicKeyParameters

java.lang.Object
  |
  +--org.bouncycastle.crypto.params.AsymmetricKeyParameter
        |
        +--org.bouncycastle.crypto.params.X25519PublicKeyParameters
All Implemented Interfaces:
CipherParameters

public final class X25519PublicKeyParameters
extends AsymmetricKeyParameter


Field Summary
static int KEY_SIZE
           
 
Constructor Summary
X25519PublicKeyParameters(byte[] buf)
           
X25519PublicKeyParameters(byte[] buf, int off)
           
X25519PublicKeyParameters(java.io.InputStream input)
           
 
Method Summary
 void encode(byte[] buf, int off)
           
 byte[] getEncoded()
           
 
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_SIZE

public static final int KEY_SIZE
Constructor Detail

X25519PublicKeyParameters

public X25519PublicKeyParameters(byte[] buf)

X25519PublicKeyParameters

public X25519PublicKeyParameters(byte[] buf,
                                 int off)

X25519PublicKeyParameters

public X25519PublicKeyParameters(java.io.InputStream input)
                          throws java.io.IOException
Method Detail

encode

public void encode(byte[] buf,
                   int off)

getEncoded

public byte[] getEncoded()

Bouncy Castle Cryptography Library 1.77.0