IT. Expert System.

Java Standard Edition (SE)

DHGenParameterSpec


javax.crypto.spec

Class DHGenParameterSpec

  • All Implemented Interfaces:
    AlgorithmParameterSpec


    public class DHGenParameterSpec
    extends Object
    implements AlgorithmParameterSpec
    This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement. This is typically done by a central authority.

    The central authority, after computing the parameters, must send this information to the parties looking to agree on a secret key.

    Since:
    1.4
    See Also:
    DHParameterSpec
    • Constructor Detail

      • DHGenParameterSpec

        public DHGenParameterSpec(int primeSize,
                                  int exponentSize)
        Constructs a parameter set for the generation of Diffie-Hellman (system) parameters. The constructed parameter set can be used to initialize an AlgorithmParameterGenerator object for the generation of Diffie-Hellman parameters.
        Parameters:
        primeSize - the size (in bits) of the prime modulus.
        exponentSize - the size (in bits) of the random exponent.
    • Method Detail

      • getPrimeSize

        public int getPrimeSize()
        Returns the size in bits of the prime modulus.
        Returns:
        the size in bits of the prime modulus
      • getExponentSize

        public int getExponentSize()
        Returns the size in bits of the random exponent (private value).
        Returns:
        the size in bits of the random exponent (private value)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 49 / 158681157. Delta: 0.03715 с