Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
ASN_TYPE_INTEGER = '0x02'
ASN.1 type INTEGER class
ASN_TYPE_BITSTRING = '0x03'
ASN.1 type BIT STRING class
ASN_TYPE_SEQUENCE = '0x30'
ASN.1 type SEQUENCE class
CANONICAL_METHOD_C14N_EXC = 'http://www.w3.org/2001/10/xml-exc-c14n#'
The URI for Canonical Method C14N Exclusive
SIGNATURE_METHOD_SHA1 = 'http://www.w3.org/2000/09/xmldsig#rsa-sha1'
The URI for Signature Method SHA1
DIGEST_METHOD_SHA1 = 'http://www.w3.org/2000/09/xmldsig#sha1'
The URI for Digest Method SHA1
RSA_KEY_IDENTIFIER = '300D06092A864886F70D0101010500'
The Identifier for RSA Keys
__construct(
)
:
void
Constructor (disabled)
_encodeValue(
string $data, const $type
)
:
string
Encode a limited set of data types into ASN.1 encoding format which is used in X.509 certificates
_getPublicKeyFromModExp(
string $modulus, string $exponent
)
:
string
Transform an RSA Key in Modulus/Exponent format into a PEM encoding and return an openssl resource for it
validateXMLSignature(
string $strXMLInput
)
:
bool
Validates the signature of a provided XML block