IT. Expert System.

Android Reference

PSSParameterSpec


java.security.spec

Class PSSParameterSpec

    • Field Detail

      • DEFAULT

        public static final PSSParameterSpec DEFAULT
        The default parameter specification. It specifies the following parameters:
        • message digest: "SHA-1"
        • mask generation function (mgf): "MGF1"
        • parameters for the mgf: MGF1ParameterSpec.SHA1
        • salt length: 20
        • trailer field: -1
    • Constructor Detail

      • PSSParameterSpec

        public PSSParameterSpec(int saltLen)
        Creates a new PSSParameterSpec with the specified salt length and the default values.
        Parameters:
        saltLen - the salt length (in bits).
        Throws:
        IllegalArgumentException - if saltLen is negative.
      • PSSParameterSpec

        public PSSParameterSpec(String mdName,
                        String mgfName,
                        AlgorithmParameterSpec mgfSpec,
                        int saltLen,
                        int trailerField)
        Creates a new PSSParameterSpec with the specified message digest name, mask generation function name, mask generation function parameters, salt length, and trailer field value.
        Parameters:
        mdName - the name of the message digest algorithm.
        mgfName - the name of the mask generation function algorithm.
        mgfSpec - the parameter for the mask generation function algorithm.
        saltLen - the salt length (in bits).
        trailerField - the trailer field value.
        Throws:
        IllegalArgumentException - if saltLen or trailerField is negative.
    • Method Detail

      • getSaltLength

        public int getSaltLength()
        Returns the length of the salt (in bits).
        Returns:
        the length of the salt (in bits).
      • getDigestAlgorithm

        public String getDigestAlgorithm()
        Returns the name of the message digest algorithm.
        Returns:
        the name of the message digest algorithm.
      • getMGFAlgorithm

        public String getMGFAlgorithm()
        Returns the name of the mask generation function algorithm.
        Returns:
        the name of the mask generation function algorithm.
      • getMGFParameters

        public AlgorithmParameterSpec getMGFParameters()
        Returns the parameter for the mask generation function algorithm.
        Returns:
        the parameter for the mask generation function algorithm, or null if none specified.
      • getTrailerField

        public int getTrailerField()
        Returns the trailer field value.
        Returns:
        the trailer field 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: 612 / 158670840. Delta: 0.04825 с