Name
Key
Synopsis
This
interface defines the key object that is used to initialize a cipher.
Keys are usually opaque objects; although you can retrieve
information about them through this interface, they are read-only
objects. Keys are obtained from the
jxta.security.impl.KeyBuilder class.
public interface Key { // Public Instance Methods public abstract void clearKey(); public abstract int getLength(); public abstract short getSize(); public abstract byte getType(); public abstract boolean isInitialized(); }
Implementations
jxta.security.impl.cipher.SecretKey,
jxta.security.publickey.RSAPrivateKey,
jxta.security.publickey.RSAPublicKey
Passed To
Cipher.init(),
jxta.security.impl.cipher.NullCipher.init(),
jxta.security.impl.cipher.RC4Cipher.init(),
jxta.security.impl.mac.MACAlgorithm.init(),
jxta.security.impl.mac.NullMAC.init(),
jxta.security.mac.MAC.init()
Returned By
jxta.security.impl.cipher.KeyBuilder.buildKey()
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