Windows PowerShell command on Get-command RSA_sign_ASN1_OCTET_STRING
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man RSA_sign_ASN1_OCTET_STRING

OpenSSL RSA_sign_ASN1_OCTET_STRING(3openssl)

NNNNAAAAMMMMEEEE

RSA_sign_ASN1_OCTET_STRING, RSA_verify_ASN1_OCTET_STRING -

RSA signatures SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS

#include

int RSA_sign_ASN1_OCTET_STRING(int dummy, unsigned char *m,

unsigned int m_len, unsigned char *sigret, unsigned int *siglen,

RSA *rsa);

int RSA_verify_ASN1_OCTET_STRING(int dummy, unsigned char *m,

unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,

RSA *rsa); DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN

RSA_sign_ASN1_OCTET_STRING() signs the octet string mmmm of

size mmmm_lllleeeennnn using the private key rrrrssssaaaa represented in DER

using PKCS #1 padding. It stores the signature in ssssiiiiggggrrrreeeetttt and

the signature size in ssssiiiigggglllleeeennnn. ssssiiiiggggrrrreeeetttt must point to

RRRRSSSSAAAA_ssssiiiizzzzeeee((((rrrrssssaaaa)))) bytes of memory.

dddduuuummmmmmmmyyyy is ignored. The random number generator must be seeded prior to calling

RSA_sign_ASN1_OCTET_STRING().

RSA_verify_ASN1_OCTET_STRING() verifies that the signature

ssssiiiiggggbbbbuuuuffff of size ssssiiiigggglllleeeennnn is the DER representation of a given

octet string mmmm of size mmmm_lllleeeennnn. dddduuuummmmmmmmyyyy is ignored. rrrrssssaaaa is the

signer's public key. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS

RSA_sign_ASN1_OCTET_STRING() returns 1 on success, 0

otherwise. RSA_verify_ASN1_OCTET_STRING() returns 1 on

successful verification, 0 otherwise.

The error codes can be obtained by ERR_get_error(3).

BBBBUUUUGGGGSSSS These functions serve no recognizable purpose. SSSSEEEEEEEE AAAALLLLSSSSOOOO

ERR_get_error(3), objects(3), rand(3), rsa(3), RSA_sign(3),

RSA_verify(3)

HHHHIIIISSSSTTTTOOOORRRRYYYY

RSA_sign_ASN1_OCTET_STRING() and

RSA_verify_ASN1_OCTET_STRING() were added in SSLeay 0.8.

25/Sep/2002 Last change: 0.9.8o 1

OpenSSL RSA_sign_ASN1_OCTET_STRING(3openssl)

25/Sep/2002 Last change: 0.9.8o 2




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™