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(
)
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.