|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAMETAS.cipher.AMETASKey
AMETAS.cipher.AMETASSCKey
Repräsentiert einen Schlüssel für den AMETASSC-Algorithmus. Der Schlüssel muss 128 Bit lang sein.
| Field Summary |
| Fields inherited from class AMETAS.cipher.AMETASKey |
m_biKey, sm_nKeysize |
| Fields inherited from interface java.security.Key |
serialVersionUID |
| Constructor Summary | |
AMETASSCKey()
Konstruktor. |
|
AMETASSCKey(java.math.BigInteger biKey)
Konstruktor, dem der Schlüssel übergeben wird. |
|
AMETASSCKey(byte[] abKey)
Konstruktor, dem der Schlüssel übergeben wird. |
|
| Method Summary | |
java.lang.String |
getAlgorithm()
Liefert den Namen des Algorithmus, für den der Schlüssel vorgesehen ist. |
byte[] |
getEncoded()
Umwandlung des Schlüssels in ein Bytearray. |
java.lang.String |
getFormat()
Stringrepräsentation des Schlüsselformats. |
| Methods inherited from class AMETAS.cipher.AMETASKey |
equals, keysizeSpecification, setKey |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AMETASSCKey()
public AMETASSCKey(java.math.BigInteger biKey)
throws java.security.InvalidKeyException
biKey - Schlüssel als BigInteger.
java.security.InvalidKeyException - wenn der Schlüssel fehlerhaft ist.
public AMETASSCKey(byte[] abKey)
throws java.security.InvalidKeyException
abKey - Schlüssel als Bytefeld (16 Byte).
java.security.InvalidKeyException - wenn der Schlüssel fehlerhaft ist.| Method Detail |
public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.KeygetAlgorithm in class AMETASKeypublic java.lang.String getFormat()
getFormat in interface java.security.KeygetFormat in class AMETASKeypublic byte[] getEncoded()
getEncoded in interface java.security.KeygetEncoded in class AMETASKey
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||