String encEkSha1 = Base64.encode(ekSha1);
context.setExtraneousProperty(MessageConstants.EK_SHA1_VALUE, encEkSha1);
EncryptedKeyHeaderBlock encKeyHB = new EncryptedKeyHeaderBlock(xencEncryptedKey);
String encryptionAlgorithm = encKeyHB.getEncryptionMethodURI();
SecurityPolicy securityPolicy = context.getSecurityPolicy();
if( securityPolicy != null && PolicyTypeUtil.encryptionPolicy(securityPolicy)) {
isBSP = ((EncryptionPolicy)securityPolicy).isBSP();
//featureBinding = (EncryptionPolicy.FeatureBinding )((EncryptionPolicy)securityPolicy).getFeatureBinding();
}