Name

Interface java.security.spec.KeySpec

Description

A key specification is used to import and export keys via a key factory. This may be done either based on the algorithm parameters used to generate the key or via an encoded series of bytes that represent the key. Classes that deal with the latter case implement this interface, which is used strictly for type identification.

Interface Definition

public abstract interface java.security.spec.KeySpec {
}

See Also

AlgorithmParameterSpec, EncodedKeySpec, KeyFactory

Get Java Cryptography 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.