04-04-2003
I guess the best question here is to ask why you need to do this. I read something similar once in Unix Hints and Hacks (I think...). I've never seen a use for this, other than to test that a drive works OK - like a burn-in period, I guess.
What result are you trying to achieve?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
After reading so many posts in this section, I'm convinced there are no other dummies here but me. You guys are light years ahead.
I have a great understanding of the Windows environment, but lost right now in some things pertaining to Unix. See, I'm a recent convert and put my website up on a... (2 Replies)
Discussion started by: Keith
2 Replies
2. Where do I download LINUX & UNIX?
where in this great world wide web could i download the unix core operating system (2 Replies)
Discussion started by: pantera
2 Replies
3. UNIX for Dummies Questions & Answers
where in this great world wide web could i download the unix core operating system (2 Replies)
Discussion started by: pantera
2 Replies
4. UNIX for Dummies Questions & Answers
I am ftp-ing (I think) files from one computer to another and I am using the Put command to do this. Is there a way for me to string these commands together and Put several files at once?
Thanks,
Amy (4 Replies)
Discussion started by: amygdala
4 Replies
5. UNIX for Dummies Questions & Answers
i need to learn unix real quick and i have completely no idea how. could anyone please tell me how to get material to get me going??? I am IT oriented.
PLEASE ANY ONE???????????????? :confused: (3 Replies)
Discussion started by: quarmenna
3 Replies
6. Shell Programming and Scripting
This drive me nut, any can show me how to do it ??
str1='Case Modify 10001 20002 30003 40004|Report Create 3417176211|Case Modify 10002 20002 30003 40004'
and str2='Case Modify 10001'
if str1 ~ str2
then str1='Report Create 3417176211|Case Modify 10002 20002 30003 40004'
Thanks, (8 Replies)
Discussion started by: sabercats
8 Replies
7. UNIX for Dummies Questions & Answers
NOT IN USE, IGNORE (8 Replies)
Discussion started by: slayer666
8 Replies
8. UNIX for Dummies Questions & Answers
Hi there;
I am really new in unix. I need some help regarding use of grep command.
I need to write a shell script which takes a C++ program and counts the
number of words which could be a valid C++ variable name.
I wrote a regular expression to find c++ variable names:
^*
but... (3 Replies)
Discussion started by: mkosucu
3 Replies
9. Shell Programming and Scripting
Hi everyone!! i need some help to do the next exercice, if some one can help-me!
Perform a script to swap two lines of a file. The name of
file as the two line numbers are passed as a parameter. It should be
verify that the file exists, have the necessary permits and lines.
i try... (3 Replies)
Discussion started by: freixo
3 Replies
10. UNIX for Beginners Questions & Answers
Where can I get UNIX? (1 Reply)
Discussion started by: ciao303
1 Replies
LEARN ABOUT CENTOS
rsa_verify_asn1_octet_string
RSA_sign_ASN1_OCTET_STRING(3) OpenSSL RSA_sign_ASN1_OCTET_STRING(3)
NAME
RSA_sign_ASN1_OCTET_STRING, RSA_verify_ASN1_OCTET_STRING - RSA signatures
SYNOPSIS
#include <openssl/rsa.h>
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);
DESCRIPTION
RSA_sign_ASN1_OCTET_STRING() signs the octet string m of size m_len using the private key rsa represented in DER using PKCS #1 padding. It
stores the signature in sigret and the signature size in siglen. sigret must point to RSA_size(rsa) bytes of memory.
dummy 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 sigbuf of size siglen is the DER representation of a given octet string m of
size m_len. dummy is ignored. rsa is the signer's public key.
RETURN VALUES
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).
BUGS
These functions serve no recognizable purpose.
SEE ALSO
ERR_get_error(3), objects(3), rand(3), rsa(3), RSA_sign(3), RSA_verify(3)
HISTORY
RSA_sign_ASN1_OCTET_STRING() and RSA_verify_ASN1_OCTET_STRING() were added in SSLeay 0.8.
1.0.1e 2013-02-11 RSA_sign_ASN1_OCTET_STRING(3)