Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.security | Provides the classes and interfaces for the security framework. |
javax.crypto | Provides the classes and interfaces for cryptographic operations. |
Uses of InvalidKeySpecException in java.security |
---|
Modifier and Type | Method and Description | |
---|---|---|
protected abstract PrivateKey |
KeyFactorySpi.engineGeneratePrivate(KeySpec keySpec)
Generates a private key object from the provided key specification (key material). |
|
protected abstract PublicKey |
KeyFactorySpi.engineGeneratePublic(KeySpec keySpec)
Generates a public key object from the provided key specification (key material). |
|
protected abstract
|
KeyFactorySpi.engineGetKeySpec(Key key,
Class<T> keySpec)
Returns a specification (key material) of the given key object. |
|
PrivateKey |
KeyFactory.generatePrivate(KeySpec keySpec)
Generates a private key object from the provided key specification (key material). |
|
PublicKey |
KeyFactory.generatePublic(KeySpec keySpec)
Generates a public key object from the provided key specification (key material). |
|
|
KeyFactory.getKeySpec(Key key,
Class<T> keySpec)
Returns a specification (key material) of the given key object. |
Uses of InvalidKeySpecException in javax.crypto |
---|
Modifier and Type | Method and Description |
---|---|
protected abstract SecretKey |
SecretKeyFactorySpi.engineGenerateSecret(KeySpec keySpec)
Generates a SecretKey object from the
provided key specification (key material). |
protected abstract KeySpec |
SecretKeyFactorySpi.engineGetKeySpec(SecretKey key,
Class keySpec)
Returns a specification (key material) of the given key object in the requested format. |
SecretKey |
SecretKeyFactory.generateSecret(KeySpec keySpec)
Generates a SecretKey object from the provided key
specification (key material). |
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Cipher cipher)
Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it. |
KeySpec |
SecretKeyFactory.getKeySpec(SecretKey key,
Class keySpec)
Returns a specification (key material) of the given key object in the requested format. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.