public String toString(){
  return "Secret key entry with algorithm " + sKey.getAlgorithm();
}

public String toString ( ) { return "Secret key entry with algorithm " + sKey . getAlgorithm ( ) ; }
returns a string representation of this secretkeyentry .
