tvaultapi/src/main/java/com/tmobile/cso/vault/api/service/SSLCertificateService.java
private boolean validateCertficateEmail(String email) {
		String emailPattern;
        emailPattern = "^[_A-Za-z0-9-\\+&]+(\\.[_A-Za-z0-9-]+)*@"
        + "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";
        Pattern pattern = Pattern.compile(emailPattern);
		Matcher matcher = pattern.matcher(email);
		return matcher.matches();
	}
/**
	 * Method to validate the certificate name
	 *
	 * @param certName
	 * @return
	 */
Method to validate the certificate name
@param certName
@return
Method to validate the certificate name @param certName @return
private boolean validateCertficateEmail(String email) {
		String emailPattern;
        emailPattern = "^[_A-Za-z0-9-\\+&]+(\\.[_A-Za-z0-9-]+)*@"
        + "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";
        Pattern pattern = Pattern.compile(emailPattern);
		Matcher matcher = pattern.matcher(email);
		return matcher.matches();
	}
private boolean validateCertficateEmail ( String email ) { String emailPattern ; emailPattern = "^[_A-Za-z0-9-\\+&]+(\\.[_A-Za-z0-9-]+)*@" + "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$" ; Pattern pattern = Pattern . compile ( emailPattern ) ; Matcher matcher = pattern . matcher ( email ) ; return matcher . matches ( ) ; }
Method to validate the certificate name
 @param certName
 @return
Method to validate the certificate name @param certName @return