fi.hut.tcm.spki.impl
Class SecKey
java.lang.Object
|
+--fi.hut.tcm.spki.impl.Composite
|
+--fi.hut.tcm.spki.impl.SecKey
- public class SecKey
- extends Composite
- implements Key, SeqEnt, java.security.Key
SecKey
Shared Secret Key class. Contains a SecSigAlgId followed by an
arbitrary number of SExpr:s followed by on optional Uri. SExpr:s
contain the key data and the Uri is a pointer to additional key info.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
SecKey
public SecKey()
check
public boolean check(Component addition)
throws java.lang.IllegalStateException
- Overrides:
- check in class Composite
accept
public void accept(Visitor visitor)
- Overrides:
- accept in class Composite
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
- getAlgorithm in interface java.security.Key
getEncoded
public byte[] getEncoded()
- Specified by:
- getEncoded in interface java.security.Key
getFormat
public java.lang.String getFormat()
- Specified by:
- getFormat in interface java.security.Key