KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/task/21573/root/proc/21572/root/usr/include/nss3/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/task/21573/root/proc/21572/root/usr/include/nss3/pkcs1sig.h
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#ifndef _PKCS1SIG_H_
#define _PKCS1SIG_H_

#include "hasht.h"
#include "seccomon.h"
#include "secoidt.h"

/* SGN_VerifyPKCS1DigestInfo verifies that the length of the digest is correct
 * for the given algorithm, then verifies that the recovered data from the
 * PKCS#1 signature is a properly-formatted DigestInfo that identifies the
 * given digest algorithm, then verifies that the digest in the DigestInfo
 * matches the given digest.
 *
 * dataRecoveredFromSignature must be the result of calling PK11_VerifyRecover
 * or equivalent.
 *
 * If unsafeAllowMissingParameters is true (not recommended), then a DigestInfo
 * without the mandatory ASN.1 NULL parameter will also be accepted.
 */
SECStatus _SGN_VerifyPKCS1DigestInfo(SECOidTag digestAlg,
                                     const SECItem* digest,
                                     const SECItem* dataRecoveredFromSignature,
                                     PRBool unsafeAllowMissingParameters);

#endif /* _PKCS1SIG_H_ */

Anon7 - 2021