Class QTESLAPublicKeyParameters

java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.pqc.legacy.crypto.qtesla.QTESLAPublicKeyParameters
All Implemented Interfaces:
CipherParameters

public final class QTESLAPublicKeyParameters extends AsymmetricKeyParameter
qTESLA public key
  • Constructor Details

    • QTESLAPublicKeyParameters

      public QTESLAPublicKeyParameters(int securityCategory, byte[] publicKey)
      Base constructor.
      Parameters:
      securityCategory - the security category for the passed in public key data.
      publicKey - the public key data.
  • Method Details

    • getSecurityCategory

      public int getSecurityCategory()
      Return the security category for this key.
      Returns:
      the key's security category.
    • getPublicData

      public byte[] getPublicData()
      Return the key's public value.
      Returns:
      key public data.