Skip to content

class XMLSecurityKey and type http://www.w3.org/2009/xmlenc11#aes256-gcm #134

@kotsis

Description

@kotsis

Hello there,

I got this exception "Could not locate key algorithm in encrypted data" from the following code:
$attrAlgorithm = "http://www.w3.org/2009/xmlenc11#aes256-gcm";
$objKey = new XMLSecurityKey($attrAlgorithm, array('type' => 'private'));

Is it possible for me to add support easily? I understand the php mcrypt library does not support GCM.
Perhaps through openssl?

Best regards,
Kostas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions