openssl-glossary.7ossl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. .\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
  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
  10. .ft CW
  11. .nf
  12. .ne \\$1
  13. ..
  14. .de Ve \" End verbatim text
  15. .ft R
  16. .fi
  17. ..
  18. .\" Set up some character translations and predefined strings. \*(-- will
  19. .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
  20. .\" double quote, and \*(R" will give a right double quote. \*(C+ will
  21. .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
  22. .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
  23. .\" nothing in troff, for use with C<>.
  24. .tr \(*W-
  25. .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
  26. .ie n \{\
  27. . ds -- \(*W-
  28. . ds PI pi
  29. . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
  30. . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
  31. . ds L" ""
  32. . ds R" ""
  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 >0, 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.
  53. .\"
  54. .\" Avoid warning from groff about undefined register 'F'.
  55. .de IX
  56. ..
  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"
  63. ..
  64. . if !\nF==2 \{\
  65. . nr % 0
  66. . nr F 2
  67. . \}
  68. . \}
  69. .\}
  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
  79. . ds #[ \f1
  80. . ds #] \fP
  81. .\}
  82. .if t \{\
  83. . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
  84. . ds #V .6m
  85. . ds #F 0
  86. . ds #[ \&
  87. . ds #] \&
  88. .\}
  89. . \" simple accents for nroff and troff
  90. .if n \{\
  91. . ds ' \&
  92. . ds ` \&
  93. . ds ^ \&
  94. . ds , \&
  95. . ds ~ ~
  96. . ds /
  97. .\}
  98. .if t \{\
  99. . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
  100. . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
  101. . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
  102. . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
  103. . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
  104. . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
  105. .\}
  106. . \" troff and (daisy-wheel) nroff accents
  107. .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
  108. .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
  109. .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
  110. .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
  111. .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
  112. .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
  113. .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
  114. .ds ae a\h'-(\w'a'u*4/10)'e
  115. .ds Ae A\h'-(\w'A'u*4/10)'E
  116. . \" corrections for vroff
  117. .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
  118. .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
  119. . \" for low resolution devices (crt and lpr)
  120. .if \n(.H>23 .if \n(.V>19 \
  121. \{\
  122. . ds : e
  123. . ds 8 ss
  124. . ds o a
  125. . ds d- d\h'-1'\(ga
  126. . ds D- D\h'-1'\(hy
  127. . ds th \o'bp'
  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 "OPENSSL-GLOSSARY 7ossl"
  136. .TH OPENSSL-GLOSSARY 7ossl "2024-09-03" "3.3.2" "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"
  142. openssl\-glossary \- An OpenSSL Glossary
  143. .SH "DESCRIPTION"
  144. .IX Header "DESCRIPTION"
  145. .IP "Algorithm" 4
  146. .IX Item "Algorithm"
  147. Cryptographic primitives such as the \s-1SHA256\s0 digest, or \s-1AES\s0 encryption are
  148. referred to in OpenSSL as \*(L"algorithms\*(R". There can be more than one
  149. implementation for any given algorithm available for use.
  150. .Sp
  151. \&\fBcrypto\fR\|(7)
  152. .IP "\s-1ASN.1, ASN1\s0" 4
  153. .IX Item "ASN.1, ASN1"
  154. \&\s-1ASN.1\s0 (\*(L"Abstract Syntax Notation One\*(R") is a notation for describing abstract
  155. types and values. It is defined in the ITU-T documents X.680 to X.683:
  156. .Sp
  157. <https://www.itu.int/rec/T\-REC\-X.680>,
  158. <https://www.itu.int/rec/T\-REC\-X.681>,
  159. <https://www.itu.int/rec/T\-REC\-X.682>,
  160. <https://www.itu.int/rec/T\-REC\-X.683>
  161. .IP "Base Provider" 4
  162. .IX Item "Base Provider"
  163. An OpenSSL Provider that contains encoders and decoders for OpenSSL keys. All
  164. the algorithm implementations in the Base Provider are also available in the
  165. Default Provider.
  166. .Sp
  167. \&\fBOSSL_PROVIDER\-base\fR\|(7)
  168. .IP "Decoder" 4
  169. .IX Item "Decoder"
  170. A decoder is a type of algorithm used for decoding keys and parameters from some
  171. external format such as \s-1PEM\s0 or \s-1DER.\s0
  172. .Sp
  173. \&\fBOSSL_DECODER_CTX_new_for_pkey\fR\|(3)
  174. .IP "Default Provider" 4
  175. .IX Item "Default Provider"
  176. An OpenSSL Provider that contains the most common OpenSSL algorithm
  177. implementations. It is loaded by default if no other provider is available. All
  178. the algorithm implementations in the Base Provider are also available in the
  179. Default Provider.
  180. .Sp
  181. \&\fBOSSL_PROVIDER\-default\fR\|(7)
  182. .ie n .IP "\s-1DER\s0 (""Distinguished Encoding Rules"")" 4
  183. .el .IP "\s-1DER\s0 (``Distinguished Encoding Rules'')" 4
  184. .IX Item "DER (Distinguished Encoding Rules)"
  185. \&\s-1DER\s0 is a binary encoding of data, structured according to an \s-1ASN.1\s0
  186. specification. This is a common encoding used for cryptographic objects
  187. such as private and public keys, certificates, CRLs, ...
  188. .Sp
  189. It is defined in ITU-T document X.690:
  190. .Sp
  191. <https://www.itu.int/rec/T\-REC\-X.690>
  192. .IP "Encoder" 4
  193. .IX Item "Encoder"
  194. An encoder is a type of algorithm used for encoding keys and parameters to some
  195. external format such as \s-1PEM\s0 or \s-1DER.\s0
  196. .Sp
  197. \&\fBOSSL_ENCODER_CTX_new_for_pkey\fR\|(3)
  198. .IP "Explicit Fetching" 4
  199. .IX Item "Explicit Fetching"
  200. Explicit Fetching is a type of Fetching (see Fetching). Explicit Fetching is
  201. where a function call is made to obtain an algorithm object representing an
  202. implementation such as \fBEVP_MD_fetch\fR\|(3) or \fBEVP_CIPHER_fetch\fR\|(3)
  203. .IP "Fetching" 4
  204. .IX Item "Fetching"
  205. Fetching is the process of looking through the available algorithm
  206. implementations, applying selection criteria (via a property query string), and
  207. finally choosing the implementation that will be used.
  208. .Sp
  209. Also see Explicit Fetching and Implicit Fetching.
  210. .Sp
  211. \&\fBcrypto\fR\|(7)
  212. .IP "\s-1FIPS\s0 Provider" 4
  213. .IX Item "FIPS Provider"
  214. An OpenSSL Provider that contains OpenSSL algorithm implementations that have
  215. been validated according to the \s-1FIPS 140\-2\s0 standard.
  216. .Sp
  217. \&\s-1\fBOSSL_PROVIDER\-FIPS\s0\fR\|(7)
  218. .IP "Implicit Fetching" 4
  219. .IX Item "Implicit Fetching"
  220. Implicit Fetching is a type of Fetching (see Fetching). Implicit Fetching is
  221. where an algorithm object with no associated implementation is used such as the
  222. return value from \fBEVP_sha256\fR\|(3) or \fBEVP_aes_128_cbc\fR\|(3). With implicit
  223. fetching an implementation is fetched automatically using default selection
  224. criteria the first time the algorithm is used.
  225. .IP "Legacy Provider" 4
  226. .IX Item "Legacy Provider"
  227. An OpenSSL Provider that contains algorithm implementations that are considered
  228. insecure or are no longer in common use.
  229. .Sp
  230. \&\fBOSSL_PROVIDER\-legacy\fR\|(7)
  231. .IP "Library Context" 4
  232. .IX Item "Library Context"
  233. A Library Context in OpenSSL is represented by the type \fB\s-1OSSL_LIB_CTX\s0\fR. It can
  234. be thought of as a scope within which configuration options apply. If an
  235. application does not explicitly create a library context then the \*(L"default\*(R"
  236. one is used. Many OpenSSL functions can take a library context as an argument.
  237. A \s-1NULL\s0 value can always be passed to indicate the default library context.
  238. .Sp
  239. \&\s-1\fBOSSL_LIB_CTX\s0\fR\|(3)
  240. .IP "\s-1MSBLOB\s0" 4
  241. .IX Item "MSBLOB"
  242. \&\s-1MSBLOB\s0 is a Microsoft specific binary format for \s-1RSA\s0 and \s-1DSA\s0 keys, both
  243. private and public. This form is never passphrase protected.
  244. .IP "Null Provider" 4
  245. .IX Item "Null Provider"
  246. An OpenSSL Provider that contains no algorithm implementations. This can be
  247. useful to prevent the default provider from being automatically loaded in a
  248. library context.
  249. .Sp
  250. \&\fBOSSL_PROVIDER\-null\fR\|(7)
  251. .IP "Operation" 4
  252. .IX Item "Operation"
  253. An operation is a group of OpenSSL functions with a common purpose such as
  254. encryption, or digesting.
  255. .Sp
  256. \&\fBcrypto\fR\|(7)
  257. .ie n .IP "\s-1PEM\s0 (""Privacy Enhanced Message"")" 4
  258. .el .IP "\s-1PEM\s0 (``Privacy Enhanced Message'')" 4
  259. .IX Item "PEM (Privacy Enhanced Message)"
  260. \&\s-1PEM\s0 is a format used for encoding of binary content into a mail and \s-1ASCII\s0
  261. friendly form. The content is a series of base64\-encoded lines, surrounded
  262. by begin/end markers each on their own line. For example:
  263. .Sp
  264. .Vb 4
  265. \& \-\-\-\-\-BEGIN PRIVATE KEY\-\-\-\-\-
  266. \& MIICdg....
  267. \& ... bhTQ==
  268. \& \-\-\-\-\-END PRIVATE KEY\-\-\-\-\-
  269. .Ve
  270. .Sp
  271. Optional header line(s) may appear after the begin line, and their existence
  272. depends on the type of object being written or read.
  273. .Sp
  274. For all OpenSSL uses, the binary content is expected to be a \s-1DER\s0 encoded
  275. structure.
  276. .Sp
  277. This is defined in \s-1IETF RFC 1421:\s0
  278. .Sp
  279. <https://tools.ietf.org/html/rfc1421>
  280. .IP "PKCS#8" 4
  281. .IX Item "PKCS#8"
  282. PKCS#8 is a specification of \s-1ASN.1\s0 structures that OpenSSL uses for storing
  283. or transmitting any private key in a key type agnostic manner.
  284. There are two structures worth noting for OpenSSL use, one that contains the
  285. key data in unencrypted form (known as \*(L"PrivateKeyInfo\*(R") and an encrypted
  286. wrapper structure (known as \*(L"EncryptedPrivateKeyInfo\*(R").
  287. .Sp
  288. This is specified in \s-1RFC 5208:\s0
  289. .Sp
  290. <https://tools.ietf.org/html/rfc5208>
  291. .IP "Property" 4
  292. .IX Item "Property"
  293. A property is a way of classifying and selecting algorithm implementations.
  294. A property is a key/value pair expressed as a string. For example all algorithm
  295. implementations in the default provider have the property \*(L"provider=default\*(R".
  296. An algorithm implementation can have multiple properties defined against it.
  297. .Sp
  298. Also see Property Query String.
  299. .Sp
  300. \&\fBproperty\fR\|(7)
  301. .IP "Property Query String" 4
  302. .IX Item "Property Query String"
  303. A property query string is a string containing a sequence of properties that
  304. can be used to select an algorithm implementation. For example the query string
  305. \&\*(L"provider=example,foo=bar\*(R" will select algorithms from the \*(L"example\*(R" provider
  306. that have a \*(L"foo\*(R" property defined for them with a value of \*(L"bar\*(R".
  307. .Sp
  308. Property Query Strings are used during fetching. See Fetching.
  309. .Sp
  310. \&\fBproperty\fR\|(7)
  311. .IP "Provider" 4
  312. .IX Item "Provider"
  313. A provider in OpenSSL is a component that groups together algorithm
  314. implementations. Providers can come from OpenSSL itself or from third parties.
  315. .Sp
  316. \&\fBprovider\fR\|(7)
  317. .IP "\s-1PVK\s0" 4
  318. .IX Item "PVK"
  319. \&\s-1PVK\s0 is a Microsoft specific binary format for \s-1RSA\s0 and \s-1DSA\s0 private keys.
  320. This form may be passphrase protected.
  321. .IP "SubjectPublicKeyInfo" 4
  322. .IX Item "SubjectPublicKeyInfo"
  323. SubjectPublicKeyInfo is an \s-1ASN.1\s0 structure that OpenSSL uses for storing and
  324. transmitting any public key in a key type agnostic manner.
  325. .Sp
  326. This is specified as part of the specification for certificates, \s-1RFC 5280:\s0
  327. .Sp
  328. <https://tools.ietf.org/html/rfc5280>
  329. .SH "HISTORY"
  330. .IX Header "HISTORY"
  331. This glossary was added in OpenSSL 3.0.
  332. .SH "COPYRIGHT"
  333. .IX Header "COPYRIGHT"
  334. Copyright 2020\-2022 The OpenSSL Project Authors. All Rights Reserved.
  335. .PP
  336. Licensed under the Apache License 2.0 (the \*(L"License\*(R"). You may not use
  337. this file except in compliance with the License. You can obtain a copy
  338. in the file \s-1LICENSE\s0 in the source distribution or at
  339. <https://www.openssl.org/source/license.html>.