Class FipsEC.MQVAgreementParametersBuilder

  • All Implemented Interfaces:
    Parameters
    Enclosing class:
    FipsEC

    public static final class FipsEC.MQVAgreementParametersBuilder
    extends FipsParameters
    Initial builder for MQV parameters.
    • Method Detail

      • using

        public FipsEC.MQVAgreementParameters using​(AsymmetricKeyPair ephemeralKeyPair,
                                                   AsymmetricECPublicKey otherPartyEphemeralKey)
        Constructor for EC MQV parameters from an ephemeral public/private key pair. This constructor will result in an agreement which returns the raw calculated agreement value, or shared secret.
        Parameters:
        ephemeralKeyPair - our ephemeral public/private key pair.
        otherPartyEphemeralKey - the other party's ephemeral public key.
      • using

        public FipsEC.MQVAgreementParameters using​(AsymmetricECPrivateKey ephemeralPrivateKey,
                                                   AsymmetricECPublicKey otherPartyEphemeralKey)
        Constructor for EC MQV parameters which assumes later calculation of our ephemeral public key. This constructor will result in an agreement which returns the raw calculated agreement value, or shared secret.
        Parameters:
        ephemeralPrivateKey - our ephemeral private key.
        otherPartyEphemeralKey - the other party's ephemeral public key.