RSA_check_key.3 (279264) | RSA_check_key.3 (273399) |
---|---|
1.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) | 1.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.28) |
2.\" 3.\" Standard preamble: 4.\" ======================================================================== 5.de Sp \" Vertical space (when we can't use .PP) 6.if t .sp .5v 7.if n .sp 8.. 9.de Vb \" Begin verbatim text --- 23 unchanged lines hidden (view full) --- 33. ds C` "" 34. ds C' "" 35'br\} 36.el\{\ 37. ds -- \|\(em\| 38. ds PI \(*p 39. ds L" `` 40. ds R" '' | 2.\" 3.\" Standard preamble: 4.\" ======================================================================== 5.de Sp \" Vertical space (when we can't use .PP) 6.if t .sp .5v 7.if n .sp 8.. 9.de Vb \" Begin verbatim text --- 23 unchanged lines hidden (view full) --- 33. ds C` "" 34. ds C' "" 35'br\} 36.el\{\ 37. ds -- \|\(em\| 38. ds PI \(*p 39. ds L" `` 40. ds R" '' |
41. ds C` 42. ds C' | |
43'br\} 44.\" 45.\" Escape single quotes in literal strings from groff's Unicode transform. 46.ie \n(.g .ds Aq \(aq 47.el .ds Aq ' 48.\" 49.\" If the F register is turned on, we'll generate index entries on stderr for 50.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index 51.\" entries marked with X<> in POD. Of course, you'll have to process the 52.\" output yourself in some meaningful fashion. | 41'br\} 42.\" 43.\" Escape single quotes in literal strings from groff's Unicode transform. 44.ie \n(.g .ds Aq \(aq 45.el .ds Aq ' 46.\" 47.\" If the F register is turned on, we'll generate index entries on stderr for 48.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index 49.\" entries marked with X<> in POD. Of course, you'll have to process the 50.\" output yourself in some meaningful fashion. |
53.\" 54.\" Avoid warning from groff about undefined register 'F'. 55.de IX | 51.ie \nF \{\ 52. de IX 53. tm Index:\\$1\t\\n%\t"\\$2" |
56.. | 54.. |
57.nr rF 0 58.if \n(.g .if rF .nr rF 1 59.if (\n(rF:(\n(.g==0)) \{ 60. if \nF \{ 61. de IX 62. tm Index:\\$1\t\\n%\t"\\$2" | 55. nr % 0 56. rr F 57.\} 58.el \{\ 59. de IX |
63.. | 60.. |
64. if !\nF==2 \{ 65. nr % 0 66. nr F 2 67. \} 68. \} | |
69.\} | 61.\} |
70.rr rF | |
71.\" 72.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). 73.\" Fear. Run. Save yourself. No user-serviceable parts. 74. \" fudge factors for nroff and troff 75.if n \{\ 76. ds #H 0 77. ds #V .8m 78. ds #F .3m --- 49 unchanged lines hidden (view full) --- 128. ds Th \o'LP' 129. ds ae ae 130. ds Ae AE 131.\} 132.rm #[ #] #H #V #F C 133.\" ======================================================================== 134.\" 135.IX Title "RSA_check_key 3" | 62.\" 63.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). 64.\" Fear. Run. Save yourself. No user-serviceable parts. 65. \" fudge factors for nroff and troff 66.if n \{\ 67. ds #H 0 68. ds #V .8m 69. ds #F .3m --- 49 unchanged lines hidden (view full) --- 119. ds Th \o'LP' 120. ds ae ae 121. ds Ae AE 122.\} 123.rm #[ #] #H #V #F C 124.\" ======================================================================== 125.\" 126.IX Title "RSA_check_key 3" |
136.TH RSA_check_key 3 "2015-01-15" "1.0.1l" "OpenSSL" | 127.TH RSA_check_key 3 "2014-10-15" "1.0.1j" "OpenSSL" |
137.\" For nroff, turn off justification. Always turn off hyphenation; it makes 138.\" way too many mistakes in technical documents. 139.if n .ad l 140.nh 141.SH "NAME" 142RSA_check_key \- validate private RSA keys 143.SH "SYNOPSIS" 144.IX Header "SYNOPSIS" --- 32 unchanged lines hidden (view full) --- 177key data in the \s-1RSA\s0 structure directly. An \s-1ENGINE\s0 implementation can 178override the way key data is stored and handled, and can even provide 179support for \s-1HSM\s0 keys \- in which case the \s-1RSA\s0 structure may contain \fBno\fR 180key data at all! If the \s-1ENGINE\s0 in question is only being used for 181acceleration or analysis purposes, then in all likelihood the \s-1RSA\s0 key data 182is complete and untouched, but this can't be assumed in the general case. 183.SH "BUGS" 184.IX Header "BUGS" | 128.\" For nroff, turn off justification. Always turn off hyphenation; it makes 129.\" way too many mistakes in technical documents. 130.if n .ad l 131.nh 132.SH "NAME" 133RSA_check_key \- validate private RSA keys 134.SH "SYNOPSIS" 135.IX Header "SYNOPSIS" --- 32 unchanged lines hidden (view full) --- 168key data in the \s-1RSA\s0 structure directly. An \s-1ENGINE\s0 implementation can 169override the way key data is stored and handled, and can even provide 170support for \s-1HSM\s0 keys \- in which case the \s-1RSA\s0 structure may contain \fBno\fR 171key data at all! If the \s-1ENGINE\s0 in question is only being used for 172acceleration or analysis purposes, then in all likelihood the \s-1RSA\s0 key data 173is complete and untouched, but this can't be assumed in the general case. 174.SH "BUGS" 175.IX Header "BUGS" |
185A method of verifying the \s-1RSA\s0 key using opaque \s-1RSA API\s0 functions might need | 176A method of verifying the \s-1RSA\s0 key using opaque \s-1RSA\s0 \s-1API\s0 functions might need |
186to be considered. Right now \fIRSA_check_key()\fR simply uses the \s-1RSA\s0 structure 187elements directly, bypassing the \s-1RSA_METHOD\s0 table altogether (and 188completely violating encapsulation and object-orientation in the process). 189The best fix will probably be to introduce a \*(L"\fIcheck_key()\fR\*(R" handler to the 190\&\s-1RSA_METHOD\s0 function table so that alternative implementations can also 191provide their own verifiers. 192.SH "SEE ALSO" 193.IX Header "SEE ALSO" 194\&\fIrsa\fR\|(3), \fIERR_get_error\fR\|(3) 195.SH "HISTORY" 196.IX Header "HISTORY" 197\&\fIRSA_check_key()\fR appeared in OpenSSL 0.9.4. | 177to be considered. Right now \fIRSA_check_key()\fR simply uses the \s-1RSA\s0 structure 178elements directly, bypassing the \s-1RSA_METHOD\s0 table altogether (and 179completely violating encapsulation and object-orientation in the process). 180The best fix will probably be to introduce a \*(L"\fIcheck_key()\fR\*(R" handler to the 181\&\s-1RSA_METHOD\s0 function table so that alternative implementations can also 182provide their own verifiers. 183.SH "SEE ALSO" 184.IX Header "SEE ALSO" 185\&\fIrsa\fR\|(3), \fIERR_get_error\fR\|(3) 186.SH "HISTORY" 187.IX Header "HISTORY" 188\&\fIRSA_check_key()\fR appeared in OpenSSL 0.9.4. |