       xmlSecAssert2(xmlSecKeyDataCheckId(data, xmlSecNssKeyDataDsaId), xmlSecKeyDataTypeUnknown);
       ctx = xmlSecNssPKIKeyDataGetCtx(data);
       xmlSecAssert2(ctx != NULL, -1);
-! //    xmlSecAssert2(SECKEY_GetPublicKeyType(ctx->pubkey) == dsaKey, -1);
+! /*    xmlSecAssert2(SECKEY_GetPublicKeyType(ctx->pubkey) == dsaKey, -1);*/
       if (ctx->privkey != NULL) {
 ! 		return(xmlSecKeyDataTypePrivate | xmlSecKeyDataTypePublic);
 !     } else if( ctx->pubkey != NULL ) {

! 
! 	#ifndef XMLSEC_NO_AES
! 	if( transform->id == xmlSecNssTransformKWAes128Id ) {
! 	//	context->cipher = CKM_NETSCAPE_AES_KEY_WRAP ;
! 		context->cipher = CKM_AES_CBC ;
! 		context->keyId = xmlSecNssKeyDataAesId ;
! 	} else
! 	if( transform->id == xmlSecNssTransformKWAes192Id ) {
! 	//	context->cipher = CKM_NETSCAPE_AES_KEY_WRAP ;
! 		context->cipher = CKM_AES_CBC ;
! 		context->keyId = xmlSecNssKeyDataAesId ;
! 	} else
! 	if( transform->id == xmlSecNssTransformKWAes256Id ) {
! 	//	context->cipher = CKM_NETSCAPE_AES_KEY_WRAP ;
! 		context->cipher = CKM_AES_CBC ;
! 		context->keyId = xmlSecNssKeyDataAesId ;
! 	} else

  
      ctx = xmlSecNssPKIKeyDataGetCtx(data);
      xmlSecAssert2(ctx != NULL, -1);
! /*    xmlSecAssert2(SECKEY_GetPublicKeyType(ctx->pubkey) == rsaKey, -1);*/
  
      return(8 * SECKEY_PublicKeyStrength(ctx->pubkey));
  }
