public void delete(String name) throws CertificateException, IOException {
  if (name.equalsIgnoreCase(NOT_BEFORE)) {
    notBefore=null;
  }
 else   if (name.equalsIgnoreCase(NOT_AFTER)) {
    notAfter=null;
  }
 else {
    throw new CertificateException("Attribute name not recognized by" + " CertAttrSet:PrivateKeyUsage.");
  }
  encodeThis();
}

public void delete ( String name ) throws CertificateException , IOException { if ( name . equalsIgnoreCase ( NOT_BEFORE ) ) { notBefore = null ; } else if ( name . equalsIgnoreCase ( NOT_AFTER ) ) { notAfter = null ; } else { throw new CertificateException ( "Attribute name not recognized by" + " CertAttrSet:PrivateKeyUsage." ) ; } encodeThis ( ) ; }
delete the attribute value .
