{
case CONTENT_TYPE_IA5STRING:
contents = new DERIA5String(text);
break;
case CONTENT_TYPE_UTF8STRING:
contents = new DERUTF8String(text);
break;
case CONTENT_TYPE_VISIBLESTRING:
contents = new DERVisibleString(text);
break;
case CONTENT_TYPE_BMPSTRING:
contents = new DERBMPString(text);
break;
default:
contents = new DERUTF8String(text);
break;
}
}