Class IESKEMParameterSpec

  • All Implemented Interfaces:
    java.security.spec.AlgorithmParameterSpec

    public class IESKEMParameterSpec
    extends java.lang.Object
    implements java.security.spec.AlgorithmParameterSpec
    Parameter spec for an integrated encryptor KEM, as in IEEE_Std_1609_2
    • Constructor Summary

      Constructors 
      Constructor Description
      IESKEMParameterSpec​(byte[] recipientInfo)
      Set the IESKEM parameters.
      IESKEMParameterSpec​(byte[] recipientInfo, boolean usePointCompression)
      Set the IESKEM parameters - specifying point compression.
    • Constructor Detail

      • IESKEMParameterSpec

        public IESKEMParameterSpec​(byte[] recipientInfo)
        Set the IESKEM parameters.
        Parameters:
        recipientInfo - recipient data.
      • IESKEMParameterSpec

        public IESKEMParameterSpec​(byte[] recipientInfo,
                                   boolean usePointCompression)
        Set the IESKEM parameters - specifying point compression.
        Parameters:
        recipientInfo - recipient data.
        usePointCompression - use point compression on output (ignored on input).
    • Method Detail

      • getRecipientInfo

        public byte[] getRecipientInfo()
      • hasUsePointCompression

        public boolean hasUsePointCompression()