Package | Description |
---|---|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.interfaces |
Provides interfaces for generating RSA (Rivest, Shamir and
Adleman AsymmetricCipher algorithm)
keys as defined in the RSA Laboratory Technical Note
PKCS#1, and DSA (Digital Signature
Algorithm) keys as defined in NIST's FIPS-186.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
Deprecated.
|
protected abstract void |
SignatureSpi.engineSetParameter(String param,
Object value)
Deprecated.
Replaced by
engineSetParameter . |
Object |
Signature.getParameter(String param)
Deprecated.
|
void |
Signer.setKeyPair(KeyPair pair)
Deprecated.
Sets the key pair (public key and private key) for this signer.
|
void |
Signature.setParameter(String param,
Object value)
Deprecated.
Use
setParameter . |
Modifier and Type | Method and Description |
---|---|
void |
DSAKeyPairGenerator.initialize(DSAParams params,
SecureRandom random)
Initializes the key pair generator using the DSA family parameters
(p,q and g) and an optional SecureRandom bit source.
|
void |
DSAKeyPairGenerator.initialize(int modlen,
boolean genParams,
SecureRandom random)
Initializes the key pair generator for a given modulus length
(instead of parameters), and an optional SecureRandom bit source.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.