IT. Expert System.

Java Standard Edition (SE)

AlgorithmParameterGeneratorSpi


compact1, compact2, compact3
java.security

Class AlgorithmParameterGeneratorSpi



  • public abstract class AlgorithmParameterGeneratorSpi
    extends Object
    This class defines the Service Provider Interface (SPI) for the AlgorithmParameterGenerator class, which is used to generate a set of parameters to be used with a certain algorithm.

    All the abstract methods in this class must be implemented by each cryptographic service provider who wishes to supply the implementation of a parameter generator for a particular algorithm.

    In case the client does not explicitly initialize the AlgorithmParameterGenerator (via a call to an engineInit method), each provider must supply (and document) a default initialization. For example, the Sun provider uses a default modulus prime size of 1024 bits for the generation of DSA parameters.

    Since:
    1.2
    See Also:
    AlgorithmParameterGenerator, AlgorithmParameters, AlgorithmParameterSpec
    • Constructor Detail

      • AlgorithmParameterGeneratorSpi

        public AlgorithmParameterGeneratorSpi()
    • Method Detail

      • engineInit

        protected abstract void engineInit(int size,
                                           SecureRandom random)
        Initializes this parameter generator for a certain size and source of randomness.
        Parameters:
        size - the size (number of bits).
        random - the source of randomness.
      • engineGenerateParameters

        protected abstract AlgorithmParameters engineGenerateParameters()
        Generates the parameters.
        Returns:
        the new AlgorithmParameters object.


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: 509 / 158734047. Delta: 0.01454 с