All Packages Class Hierarchy This Package Previous Next Index
Class is.logi.crypto.keys.SymmetricKey
java.lang.Object
|
+----is.logi.crypto.Crypto
|
+----is.logi.crypto.keys.K
|
+----is.logi.crypto.keys.SymmetricKey
- public abstract class SymmetricKey
- extends K
This class is the ancestor of all symmetric keys classes.
- Author:
- Logi Ragnarsson
(logir@hi.is)
- See Also:
- KeyPair, KeyRing
-
SymmetricKey()
-
-
isPrivate()
- Returns true iff this is a private key.
-
matches(Key)
- Returns true if this and key are the same symmetric key.
SymmetricKey
public SymmetricKey()
isPrivate
public boolean isPrivate()
- Returns true iff this is a private key.
Symmetric keys simply return true
.
- Overrides:
- isPrivate in class K
matches
public boolean matches(Key key)
- Returns true if this and key are the same symmetric key.
Symmetric keys simply call equals(key)
.
- Overrides:
- matches in class K
All Packages Class Hierarchy This Package Previous Next Index