Name
KeySpec
Synopsis
This
interface defines no methods; it marks classes that define a
transparent representation of a cryptographic key. Use a
java.security.KeyFactory to convert a
KeySpec to and from an opaque
java.security.Key.
public interface KeySpec {
}Implementations
DSAPrivateKeySpec,
DSAPublicKeySpec,
ECPrivateKeySpec,
ECPublicKeySpec,
EncodedKeySpec,
RSAPrivateKeySpec,
RSAPublicKeySpec,
javax.crypto.spec.DESedeKeySpec,
javax.crypto.spec.DESKeySpec,
javax.crypto.spec.DHPrivateKeySpec,
javax.crypto.spec.DHPublicKeySpec,
javax.crypto.spec.PBEKeySpec,
javax.crypto.spec.SecretKeySpec
Passed To
java.security.KeyFactory.{generatePrivate( ),
generatePublic( )},
java.security.KeyFactorySpi.{engineGeneratePrivate(
), engineGeneratePublic( )},
javax.crypto.SecretKeyFactory.generateSecret( ),
javax.crypto.SecretKeyFactorySpi.engineGenerateSecret(
)
Returned By
java.security.KeyFactory.getKeySpec( ),
java.security.KeyFactorySpi.engineGetKeySpec( ),
javax.crypto.SecretKeyFactory.getKeySpec( ),
javax.crypto.SecretKeyFactorySpi.engineGetKeySpec(
)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access