May 2001
Intermediate to advanced
618 pages
20h 50m
English
Interface java.security.Key
A key is essentially a series of bytes that are used by a cryptographic algorithm. Depending on the type of the key, the key may be used only for particular operations and only for particular algorithms, and it may have certain mathematical properties (including a mathematical relationship to other keys). The series of bytes that comprise a key is the encoded format of the key.
public interface java.security.Key
implements java.io.Serializable {
// Instance Methods
public abstract String getAlgorithm( );
public abstract byte[] getEncoded( );
public abstract String getFormat( );
}
PrivateKey, PublicKey, javax.crypto.SecretKey
|
Read now
Unlock full access