#
module Puppet::Parser::Functions
newfunction(:validate_x509_rsa_key_pair, :doc => <<-DOC
- Validates a PEM-formatted X.509 certificate and RSA private key using
- OpenSSL. Verifies that the certficate's signature was created from the
- supplied key.
+ @summary
+ Validates a PEM-formatted X.509 certificate and RSA private key using
+ OpenSSL. Verifies that the certficate's signature was created from the
+ supplied key.
- Fail compilation if any value fails this check.
+ @return
+ Fail compilation if any value fails this check.
- validate_x509_rsa_key_pair($cert, $key)
+ ```validate_x509_rsa_key_pair($cert, $key)```
DOC
) do |args|