IT. Expert System.

Android Reference

DSAKeyPairGenerator


java.security.interfaces

Interface DSAKeyPairGenerator

  • All Known Implementing Classes:
    DSAKeyPairGeneratorImpl


    public interface DSAKeyPairGenerator
    The interface for key generators that can generate DSA key pairs.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void initialize(DSAParams params, SecureRandom random)
      Initializes this generator with the prime (p), subprime (q), and base (g) values from the specified parameters.
      void initialize(int modlen, boolean genParams, SecureRandom random)
      Initializes this generator for the specified modulus length.
    • Method Detail

      • initialize

        void initialize(DSAParams params,
                      SecureRandom random)
                        throws InvalidParameterException
        Initializes this generator with the prime (p), subprime (q), and base (g) values from the specified parameters.
        Parameters:
        params - the parameter values.
        random - the source of randomness.
        Throws:
        InvalidParameterException - if the specified parameter values are null or invalid.
      • initialize

        void initialize(int modlen,
                      boolean genParams,
                      SecureRandom random)
                        throws InvalidParameterException
        Initializes this generator for the specified modulus length. Valid values for the modulus length are the multiples of 8 between 512 and 1024.

        The parameter genParams specifies whether this method should generate new prime (p), subprime (q), and base (g) values or whether it will use the pre-calculated values for the specified modulus length. Default parameters are available for modulus lengths of 512 and 1024 bits.

        Parameters:
        modlen - the length of the modulus in bits.
        genParams - whether new values should be generated.
        random - the source of randomness.
        Throws:
        InvalidParameterException - if the specified modulus length is not valid, or if there are no pre-calculated values and genParams is false.


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: 331 / 158856929. Delta: 0.04214 с