Top Description Fields Constructors Methods
org.bouncycastle.pqc.crypto.ntru

public Class NTRUPrivateKeyParameters

extends NTRUKeyParameters
Class Inheritance
Imports
org.bouncycastle.util.Arrays

NTRU private key parameter class.

Field Summary

Modifier and TypeField and Description
pack-priv final byte[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

a byte array containing private key
getEncoded
()

Get the encoding of the private key.

public byte[]

Returns:

a byte array containing private key
getPrivateKey
()

Get private key.

Inherited from org.bouncycastle.pqc.crypto.ntru.NTRUKeyParameters:
getParameters

Field Detail

privateKeyback to summary
pack-priv final byte[] privateKey

Hides org.bouncycastle.crypto.params.AsymmetricKeyParameter.privateKey.

Constructor Detail

NTRUPrivateKeyParametersback to summary
public NTRUPrivateKeyParameters(NTRUParameters params, byte[] key)

Method Detail

getEncodedback to summary
public byte[] getEncoded()

Get the encoding of the private key.

Returns:byte[]

a byte array containing private key

getPrivateKeyback to summary
public byte[] getPrivateKey()

Get private key.

Returns:byte[]

a byte array containing private key