public int hashCode(){
  int result=17;
  if (isDestroyed()) {
    return result;
  }
  result=37 * result + Arrays.hashCode(getEncoded());
  result=37 * result + getKeyType();
  if (principal != null) {
    result=37 * result + principal.hashCode();
  }
  return result * 37 + versionNum;
}

public int hashCode ( ) { int result = 17 ; if ( isDestroyed ( ) ) { return result ; } result = 37 * result + Arrays . hashCode ( getEncoded ( ) ) ; result = 37 * result + getKeyType ( ) ; if ( principal != null ) { result = 37 * result + principal . hashCode ( ) ; } return result * 37 + versionNum ; }
returns a hashcode for this kerberoskey .
