Class KeySize

java.lang.Object
org.opensaml.xmlsec.agreement.impl.KeySize
All Implemented Interfaces:
KeyAgreementParameter

public class KeySize extends Object implements KeyAgreementParameter
Key agreement parameter used to explicitly represent the size of the derived key.
  • Field Details

    • size

      private final int size
      Key size.
  • Constructor Details

    • KeySize

      public KeySize(int keySize)
      Constructor.
      Parameters:
      keySize - the key size, in bits
  • Method Details

    • getSize

      public int getSize()
      Get the key size, in bits.
      Returns:
      the key size in bits