class:MGF1ParameterSpec [CHANGED]

  • All Implemented Interfaces:
    AlgorithmParameterSpec


    public class MGF1ParameterSpec
    extends Object
    implements AlgorithmParameterSpec
    
    This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSARSASSA-PSS signature scheme, as defined in the PKCS #1PKCS#1 v2.12 standard.

    Its ASN.1 definition in PKCS#1 standard is described below:

     
    PKCS1MGFAlgorithms    ALGORITHM-IDENTIFIER ::= {
       MGF1Parameters{ OID id-mgf1 PARAMETERS HashAlgorithm },
       ...  -- Allows for future expansion --
     }
     
    
    where
     
    HashAlgorithm ::= AlgorithmIdentifier {
       {OAEP-PSSDigestAlgorthmsPSSDigestAlgorithms}
     where}
    
     OAEP-PSSDigestAlgorithms    ALGORITHM-IDENTIFIER ::= {
       { OID id-sha1       PARAMETERS NULL }|
       { OID id-sha224     PARAMETERS NULL }|
       { OID id-sha224sha256     PARAMETERS NULL }|
       { OID id-sha384     PARAMETERS NULL }|
       { OID id-sha256sha512     PARAMETERS NULL }|
       { OID id-sha384sha512-224 PARAMETERS NULL }|
       { OID id-sha512-256 PARAMETERS NULL },
       ...  -- Allows for future expansion --
     }
     

    Since:
    1.5
    See Also:
    PSSParameterSpec, OAEPParameterSpec
  • All Implemented Interfaces:
    AlgorithmParameterSpec


    public class MGF1ParameterSpec
    extends Object
    implements AlgorithmParameterSpec
    
    This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSA-PSS signature scheme, as defined in the PKCS #1 v2.1 standard.

    Its ASN.1 definition in PKCS#1 standard is described below:

     MGF1Parameters ::= OAEP-PSSDigestAlgorthms
     
    where
     OAEP-PSSDigestAlgorithms    ALGORITHM-IDENTIFIER ::= {
       { OID id-sha1 PARAMETERS NULL   }|
       { OID id-sha224 PARAMETERS NULL   }|
       { OID id-sha256 PARAMETERS NULL }|
       { OID id-sha384 PARAMETERS NULL }|
       { OID id-sha512 PARAMETERS NULL },
       ...  -- Allows for future expansion --
     }
     

    Since:
    1.5
    See Also:
    PSSParameterSpec, OAEPParameterSpec
  • All Implemented Interfaces:
    AlgorithmParameterSpec


    public class MGF1ParameterSpec
    extends Object
    implements AlgorithmParameterSpec
    
    This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard.

    Its ASN.1 definition in PKCS#1 standard is described below:

     PKCS1MGFAlgorithms    ALGORITHM-IDENTIFIER ::= {
       { OID id-mgf1 PARAMETERS HashAlgorithm },
       ...  -- Allows for future expansion --
     }
     
    where
     HashAlgorithm ::= AlgorithmIdentifier {
       {OAEP-PSSDigestAlgorithms}
     }
    
     OAEP-PSSDigestAlgorithms    ALGORITHM-IDENTIFIER ::= {
       { OID id-sha1       PARAMETERS NULL }|
       { OID id-sha224     PARAMETERS NULL }|
       { OID id-sha256     PARAMETERS NULL }|
       { OID id-sha384     PARAMETERS NULL }|
       { OID id-sha512     PARAMETERS NULL }|
       { OID id-sha512-224 PARAMETERS NULL }|
       { OID id-sha512-256 PARAMETERS NULL },
       ...  -- Allows for future expansion --
     }
     

    Since:
    1.5
    See Also:
    PSSParameterSpec, OAEPParameterSpec

field:SHA512_224 [ADDED]

  • SHA512_224

    public static final MGF1ParameterSpec SHA512_224
    
    The MGF1ParameterSpec which uses SHA-512/224 message digest

field:SHA512_256 [ADDED]

  • SHA512_256

    public static final MGF1ParameterSpec SHA512_256
    
    The MGF1ParameterSpec which uses SHA-512/256 message digest

© 2019 Oracle Corporation and/or its affiliates