com.cedarsoft.crypt
Class Signature

java.lang.Object
  extended by com.cedarsoft.crypt.Signature

public class Signature
extends Object

Represents a signature


Field Summary
static Signature NULL
          Null signature
 
Constructor Summary
Signature(byte[] bytes)
          Creates a new signature
 
Method Summary
 boolean equals(Object o)
           
 byte[] getBytes()
          Returns the byte array representing the signature
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

@NotNull
public static final Signature NULL
Null signature

Constructor Detail

Signature

public Signature(@NotNull
                 byte[] bytes)
Creates a new signature

Parameters:
bytes - the bytes
Method Detail

getBytes

@NotNull
public byte[] getBytes()
Returns the byte array representing the signature

Returns:
the byte array

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.