break;
case SecConst.CERTPROFILE_FIXED_HARDTOKENENC:
returnval = new HardTokenEncCertificateProfile();
break;
case SecConst.CERTPROFILE_FIXED_HARDTOKENSIGN:
returnval = new HardTokenSignCertificateProfile();
break;
default:
returnval = new EndUserCertificateProfile();
}
} else {