boolean asn1Equals(ASN1Primitive o) {
    if (!(o instanceof DERPrintableString)) {
      return false;
    }

    DERPrintableString s = (DERPrintableString) o;

    return Arrays.areEqual(string, s.string);
  }
 public int hashCode() {
   return Arrays.hashCode(string);
 }
 public byte[] getOctets() {
   return Arrays.clone(string);
 }