Uses of Class
java.security.spec.InvalidKeySpecException
| Package | Description |
|---|---|
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| javax.crypto |
This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or
key agreement.
|
| org.apache.harmony.security.provider.crypto | |
| org.bouncycastle.jcajce.provider.asymmetric.dh | |
| org.bouncycastle.jcajce.provider.asymmetric.dsa | |
| org.bouncycastle.jcajce.provider.asymmetric.ec | |
| org.bouncycastle.jcajce.provider.asymmetric.rsa | |
| org.bouncycastle.jcajce.provider.asymmetric.util | |
| org.bouncycastle.jcajce.provider.asymmetric.x509 | |
| org.bouncycastle.jcajce.provider.digest | |
| org.bouncycastle.jcajce.provider.symmetric | |
| org.bouncycastle.jcajce.provider.symmetric.util | |
| org.bouncycastle.jce.netscape | |
| org.conscrypt |
-
Uses of InvalidKeySpecException in java.security
Methods in java.security that throw InvalidKeySpecException Modifier and Type Method Description protected abstract PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)Generates a instance ofPrivateKeyfrom the given key specification.protected abstract PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)Generates a instance ofPublicKeyfrom the given key specification.protected abstract <T extends KeySpec>
TKeyFactorySpi. engineGetKeySpec(Key key, Class<T> keySpec)Returns the key specification for the specified key.PrivateKeyKeyFactory. generatePrivate(KeySpec keySpec)Generates a instance ofPrivateKeyfrom the given key specification.PublicKeyKeyFactory. generatePublic(KeySpec keySpec)Generates a instance ofPublicKeyfrom the given key specification.<T extends KeySpec>
TKeyFactory. getKeySpec(Key key, Class<T> keySpec)Returns the key specification for the specified key. -
Uses of InvalidKeySpecException in javax.crypto
Methods in javax.crypto that throw InvalidKeySpecException Modifier and Type Method Description protected abstract SecretKeySecretKeyFactorySpi. engineGenerateSecret(KeySpec keySpec)Generate a secret key from the specified key specification.protected abstract KeySpecSecretKeyFactorySpi. engineGetKeySpec(SecretKey key, Class keySpec)Returns the key specification of the specified secret key.SecretKeySecretKeyFactory. generateSecret(KeySpec keySpec)Generate a secret key from the specified key specification.PKCS8EncodedKeySpecEncryptedPrivateKeyInfo. getKeySpec(Cipher cipher)Returns thePKCS8EncodedKeySpecobject extracted from the encrypted data.KeySpecSecretKeyFactory. getKeySpec(SecretKey key, Class keySpec)Returns the key specification of the specified secret key. -
Uses of InvalidKeySpecException in org.apache.harmony.security.provider.crypto
Methods in org.apache.harmony.security.provider.crypto that throw InvalidKeySpecException Modifier and Type Method Description protected PrivateKeyDSAKeyFactoryImpl. engineGeneratePrivate(KeySpec keySpec)This method generates a DSAPrivateKey object from the provided key specification.protected PublicKeyDSAKeyFactoryImpl. engineGeneratePublic(KeySpec keySpec)This method generates a DSAPublicKey object from the provided key specification.protected <T extends KeySpec>
TDSAKeyFactoryImpl. engineGetKeySpec(Key key, Class<T> keySpec)This method returns a specification for the supplied key.Constructors in org.apache.harmony.security.provider.crypto that throw InvalidKeySpecException Constructor Description DSAPrivateKeyImpl(PKCS8EncodedKeySpec keySpec)Creates object from PKCS8EncodedKeySpec.DSAPublicKeyImpl(X509EncodedKeySpec keySpec)Creates object from X509EncodedKeySpec. -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.asymmetric.dh
Methods in org.bouncycastle.jcajce.provider.asymmetric.dh that throw InvalidKeySpecException Modifier and Type Method Description protected PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)protected PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)protected KeySpecKeyFactorySpi. engineGetKeySpec(Key key, Class spec) -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.asymmetric.dsa
Methods in org.bouncycastle.jcajce.provider.asymmetric.dsa that throw InvalidKeySpecException Modifier and Type Method Description protected PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)protected PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)protected KeySpecKeyFactorySpi. engineGetKeySpec(Key key, Class spec) -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.asymmetric.ec
Methods in org.bouncycastle.jcajce.provider.asymmetric.ec that throw InvalidKeySpecException Modifier and Type Method Description protected PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)protected PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)protected KeySpecKeyFactorySpi. engineGetKeySpec(Key key, Class spec) -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.asymmetric.rsa
Methods in org.bouncycastle.jcajce.provider.asymmetric.rsa that throw InvalidKeySpecException Modifier and Type Method Description protected PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)protected PublicKeyKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)protected KeySpecKeyFactorySpi. engineGetKeySpec(Key key, Class spec) -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.asymmetric.util
Subclasses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.asymmetric.util Modifier and Type Class Description classExtendedInvalidKeySpecExceptionMethods in org.bouncycastle.jcajce.provider.asymmetric.util that throw InvalidKeySpecException Modifier and Type Method Description protected PrivateKeyBaseKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)protected PublicKeyBaseKeyFactorySpi. engineGeneratePublic(KeySpec keySpec)protected KeySpecBaseKeyFactorySpi. engineGetKeySpec(Key key, Class spec) -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.asymmetric.x509
Methods in org.bouncycastle.jcajce.provider.asymmetric.x509 that throw InvalidKeySpecException Modifier and Type Method Description protected PrivateKeyKeyFactory. engineGeneratePrivate(KeySpec keySpec)protected PublicKeyKeyFactory. engineGeneratePublic(KeySpec keySpec)protected KeySpecKeyFactory. engineGetKeySpec(Key key, Class keySpec) -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.digest
Methods in org.bouncycastle.jcajce.provider.digest that throw InvalidKeySpecException Modifier and Type Method Description protected SecretKeySHA1.BasePBKDF2WithHmacSHA1. engineGenerateSecret(KeySpec keySpec) -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.symmetric
Methods in org.bouncycastle.jcajce.provider.symmetric that throw InvalidKeySpecException Modifier and Type Method Description protected SecretKeyDES.DESPBEKeyFactory. engineGenerateSecret(KeySpec keySpec)protected SecretKeyDES.KeyFactory. engineGenerateSecret(KeySpec keySpec)protected SecretKeyDESede.KeyFactory. engineGenerateSecret(KeySpec keySpec)protected KeySpecDES.KeyFactory. engineGetKeySpec(SecretKey key, Class keySpec)protected KeySpecDESede.KeyFactory. engineGetKeySpec(SecretKey key, Class keySpec) -
Uses of InvalidKeySpecException in org.bouncycastle.jcajce.provider.symmetric.util
Methods in org.bouncycastle.jcajce.provider.symmetric.util that throw InvalidKeySpecException Modifier and Type Method Description protected SecretKeyBaseSecretKeyFactory. engineGenerateSecret(KeySpec keySpec)protected SecretKeyPBESecretKeyFactory. engineGenerateSecret(KeySpec keySpec)protected KeySpecBaseSecretKeyFactory. engineGetKeySpec(SecretKey key, Class keySpec) -
Uses of InvalidKeySpecException in org.bouncycastle.jce.netscape
Methods in org.bouncycastle.jce.netscape that throw InvalidKeySpecException Modifier and Type Method Description voidNetscapeCertRequest. sign(PrivateKey priv_key)voidNetscapeCertRequest. sign(PrivateKey priv_key, SecureRandom rand)Constructors in org.bouncycastle.jce.netscape that throw InvalidKeySpecException Constructor Description NetscapeCertRequest(String challenge, AlgorithmIdentifier signing_alg, PublicKey pub_key) -
Uses of InvalidKeySpecException in org.conscrypt
Methods in org.conscrypt that throw InvalidKeySpecException Modifier and Type Method Description protected PrivateKeyOpenSSLDSAKeyFactory. engineGeneratePrivate(KeySpec keySpec)protected PrivateKeyOpenSSLECKeyFactory. engineGeneratePrivate(KeySpec keySpec)protected PrivateKeyOpenSSLRSAKeyFactory. engineGeneratePrivate(KeySpec keySpec)protected PublicKeyOpenSSLDSAKeyFactory. engineGeneratePublic(KeySpec keySpec)protected PublicKeyOpenSSLECKeyFactory. engineGeneratePublic(KeySpec keySpec)protected PublicKeyOpenSSLRSAKeyFactory. engineGeneratePublic(KeySpec keySpec)protected <T extends KeySpec>
TOpenSSLDSAKeyFactory. engineGetKeySpec(Key key, Class<T> keySpec)protected <T extends KeySpec>
TOpenSSLECKeyFactory. engineGetKeySpec(Key key, Class<T> keySpec)protected <T extends KeySpec>
TOpenSSLRSAKeyFactory. engineGetKeySpec(Key key, Class<T> keySpec)protected static intHandshakeProtocol. getRSAKeyLength(PublicKey pk)Returns RSA key lengthConstructors in org.conscrypt that throw InvalidKeySpecException Constructor Description OpenSSLECPrivateKey(ECPrivateKeySpec ecKeySpec)OpenSSLECPublicKey(ECPublicKeySpec ecKeySpec)OpenSSLRSAPrivateCrtKey(RSAPrivateCrtKeySpec rsaKeySpec)OpenSSLRSAPrivateKey(RSAPrivateKeySpec rsaKeySpec)