class EncryCredentialManagerImpl implements EncryCredentialManager {

	@Override
	public EncryCredentialInfo decrypt(EncryCredential encryCredential) {
		//不为空。
		if(encryCredential!=null && !StringUtils.isEmpty(encryCredential.getCredential())){
			String credential = encryCredential.getCredential();
			return parseEncryCredential(credential);
		}
		//若为空信息，则返回空。
		return null;
	}

}