|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--is.logi.crypto.Crypto | +--is.logi.crypto.keys.K | +--is.logi.crypto.keys.SymmetricKey
This abstract class implements some (more) of the methods from the Key interface.
KeyPair
,
KeyRing
Fields inherited from class is.logi.crypto.Crypto |
BIT,
cdsPath,
keySource,
NIBBLE,
primeCertainty,
random |
Constructor Summary | |
SymmetricKey()
|
Method Summary | |
boolean |
isPrivate()
Returns true iff this is a private key. |
boolean |
matches(Key key)
Returns true if this and key are the same symmetric key. |
Methods inherited from class is.logi.crypto.keys.K |
getFingerprint,
getSize,
hashCode,
matchFingerprint |
Methods inherited from class is.logi.crypto.Crypto |
binString,
binString,
equal,
equalRelaxed,
equalSub,
fromHexNibble,
fromHexString,
fromString,
fromString,
hexString,
hexString,
hexString,
hexString,
makeClass,
makeInt,
makeLong,
makeSessionKey,
pastSpace,
pickBits,
pickBits,
readInt,
writeBytes,
writeBytes,
writeInt |
Methods inherited from class java.lang.Object |
equals,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SymmetricKey()
Method Detail |
public boolean isPrivate()
Symmetric keys simply return true
.
public boolean matches(Key key)
Symmetric keys simply call equals(key)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |