iaik.security.ssl
Class TicketKeyBag.KeyName

java.lang.Object
  extended by iaik.security.ssl.TicketKeyBag.KeyName
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
TicketKeyBag

public static final class TicketKeyBag.KeyName
extends java.lang.Object
implements java.lang.Cloneable

This class represents the key name of a TicketKeyBag.


Constructor Summary
TicketKeyBag.KeyName(byte[] name)
          Creates a KeyName from the given name.
 
Method Summary
 java.lang.Object clone()
          Gets a clone of this Object.
 boolean equals(java.lang.Object other)
          Checks, if this KeyName is equal to the given object.
 byte[] getName()
          Gets the key name as byte array.
 int hashCode()
          Gets a hash code of this object.
 java.lang.String toString()
          Returns a String representation of the KeyName.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TicketKeyBag.KeyName

public TicketKeyBag.KeyName(byte[] name)
Creates a KeyName from the given name.

Parameters:
name - the key name as byte array
Method Detail

getName

public byte[] getName()
Gets the key name as byte array.

Returns:
the key name as byte array

equals

public boolean equals(java.lang.Object other)
Checks, if this KeyName is equal to the given object.

Overrides:
equals in class java.lang.Object
Parameters:
other - the other object to be compared with this KeyName
Returns:
true, if the two objects are equals, false if not

hashCode

public int hashCode()
Gets a hash code of this object.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code for this object.

clone

public java.lang.Object clone()
Gets a clone of this Object.

Overrides:
clone in class java.lang.Object
Returns:
a clone of this object

toString

public java.lang.String toString()
Returns a String representation of the KeyName.

Overrides:
toString in class java.lang.Object
Returns:
a String representation

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

iSaSiLk 5.104, (c) 2002 IAIK, (c) 2003 - 2015 SIC