Lines Matching +full:1 +full:a

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
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
62 . tm Index:\\$1\t\\n%\t"\\$2"
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
101 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
122 . ds o a
123 . ds d- d\h'-1'\(ga
124 . ds D- D\h'-1'\(hy
198 hidden entirely by defining \fB\s-1OPENSSL_API_COMPAT\s0\fR with a suitable version value,
202 \& TYPE *d2i_TYPEPrivateKey(TYPE **a, const unsigned char **ppin, long length);
203 \& TYPE *d2i_TYPEPrivateKey_bio(BIO *bp, TYPE **a);
204 \& TYPE *d2i_TYPEPrivateKey_fp(FILE *fp, TYPE **a);
205 \& TYPE *d2i_TYPEPublicKey(TYPE **a, const unsigned char **ppin, long length);
206 \& TYPE *d2i_TYPEPublicKey_bio(BIO *bp, TYPE **a);
207 \& TYPE *d2i_TYPEPublicKey_fp(FILE *fp, TYPE **a);
208 \& TYPE *d2i_TYPEparams(TYPE **a, const unsigned char **ppin, long length);
209 \& TYPE *d2i_TYPEparams_bio(BIO *bp, TYPE **a);
210 \& TYPE *d2i_TYPEparams_fp(FILE *fp, TYPE **a);
211 \& TYPE *d2i_TYPE_PUBKEY(TYPE **a, const unsigned char **ppin, long length);
212 \& TYPE *d2i_TYPE_PUBKEY_bio(BIO *bp, TYPE **a);
213 \& TYPE *d2i_TYPE_PUBKEY_fp(FILE *fp, TYPE **a);
215 \& int i2d_TYPEPrivateKey(const TYPE *a, unsigned char **ppout);
216 \& int i2d_TYPEPrivateKey(TYPE *a, unsigned char **ppout);
217 \& int i2d_TYPEPrivateKey_fp(FILE *fp, const TYPE *a);
218 \& int i2d_TYPEPrivateKey_fp(FILE *fp, TYPE *a);
219 \& int i2d_TYPEPrivateKey_bio(BIO *bp, const TYPE *a);
220 \& int i2d_TYPEPrivateKey_bio(BIO *bp, TYPE *a);
221 \& int i2d_TYPEPublicKey(const TYPE *a, unsigned char **ppout);
222 \& int i2d_TYPEPublicKey(TYPE *a, unsigned char **ppout);
223 \& int i2d_TYPEPublicKey_fp(FILE *fp, const TYPE *a);
224 \& int i2d_TYPEPublicKey_fp(FILE *fp, TYPE *a);
225 \& int i2d_TYPEPublicKey_bio(BIO *bp, const TYPE *a);
226 \& int i2d_TYPEPublicKey_bio(BIO *bp, TYPE *a);
227 \& int i2d_TYPEparams(const TYPE *a, unsigned char **ppout);
228 \& int i2d_TYPEparams(TYPE *a, unsigned char **ppout);
229 \& int i2d_TYPEparams_fp(FILE *fp, const TYPE *a);
230 \& int i2d_TYPEparams_fp(FILE *fp, TYPE *a);
231 \& int i2d_TYPEparams_bio(BIO *bp, const TYPE *a);
232 \& int i2d_TYPEparams_bio(BIO *bp, TYPE *a);
233 \& int i2d_TYPE_PUBKEY(const TYPE *a, unsigned char **ppout);
234 \& int i2d_TYPE_PUBKEY(TYPE *a, unsigned char **ppout);
235 \& int i2d_TYPE_PUBKEY_fp(FILE *fp, const TYPE *a);
236 \& int i2d_TYPE_PUBKEY_fp(FILE *fp, TYPE *a);
237 \& int i2d_TYPE_PUBKEY_bio(BIO *bp, const TYPE *a);
238 \& int i2d_TYPE_PUBKEY_bio(BIO *bp, TYPE *a);
242 All functions described here are deprecated. Please use \s-1\fBOSSL_DECODER\s0\fR\|(3)
243 instead of the \fBd2i\fR functions and \s-1\fBOSSL_ENCODER\s0\fR\|(3) instead of the \fBi2d\fR
246 In the description here, \fB\f(BI\s-1TYPE\s0\fB\fR is used a placeholder for any of the
247 OpenSSL datatypes, such as \fB\s-1RSA\s0\fR.
255 because the PKCS#1 \fB\s-1RSA\s0\fR structure doesn't include any key parameters.
257 \&\fBd2i_\f(BI\s-1TYPE\s0\fBPrivateKey\fR() and derivates thereof decode \s-1DER\s0 encoded
258 \&\fB\f(BI\s-1TYPE\s0\fB\fR private key data organized in a type specific structure.
260 \&\fBd2i_\f(BI\s-1TYPE\s0\fBPublicKey\fR() and derivates thereof decode \s-1DER\s0 encoded
261 \&\fB\f(BI\s-1TYPE\s0\fB\fR public key data organized in a type specific structure.
263 \&\fBd2i_\f(BI\s-1TYPE\s0\fBparams\fR() and derivates thereof decode \s-1DER\s0 encoded \fB\f(BI\s-
264 key parameters organized in a type specific structure.
266 \&\fBd2i_\f(BI\s-1TYPE\s0\fB_PUBKEY\fR() and derivates thereof decode \s-1DER\s0 encoded \fB\f(BI\s…
267 public key data organized in a \fBSubjectPublicKeyInfo\fR structure.
269 \&\fBi2d_\f(BI\s-1TYPE\s0\fBPrivateKey\fR() and derivates thereof encode the private key
270 \&\fB\f(BI\s-1TYPE\s0\fB\fR data into a type specific \s-1DER\s0 encoded structure.
272 \&\fBi2d_\f(BI\s-1TYPE\s0\fBPublicKey\fR() and derivates thereof encode the public key
273 \&\fB\f(BI\s-1TYPE\s0\fB\fR data into a type specific \s-1DER\s0 encoded structure.
275 \&\fBi2d_\f(BI\s-1TYPE\s0\fBparams\fR() and derivates thereof encode the \fB\f(BI\s-1TYPE\s0\fB\fR …
276 parameters data into a type specific \s-1DER\s0 encoded structure.
278 \&\fBi2d_\f(BI\s-1TYPE\s0\fB_PUBKEY\fR() and derivates thereof encode the public key
279 \&\fB\f(BI\s-1TYPE\s0\fB\fR data into a \s-1DER\s0 encoded \fBSubjectPublicKeyInfo\fR structure.
282 structure defined by PKCS#1.
283 Similarly, \fBi2d_RSAPrivateKey()\fR and \fBi2d_RSAPublicKey()\fR produce \s-1DER\s0 encoded
284 string organized according to PKCS#1.
287 Migration from the diverse \fB\f(BI\s-1TYPE\s0\fB\fRs requires using corresponding new
288 OpenSSL types. For all \fB\f(BI\s-1TYPE\s0\fB\fRs described here, the corresponding new
289 type is \fB\s-1EVP_PKEY\s0\fR. The rest of this section assumes that this has been
295 b<d2i_\fI\s-1TYPE\s0\fR\fBPrivateKey()\fR> with \fBd2i_PrivateKey\fR\|(3),
296 b<d2i_\fI\s-1TYPE\s0\fR\fBPublicKey()\fR> with \fBd2i_PublicKey\fR\|(3),
297 b<d2i_\fI\s-1TYPE\s0\fR\fBparams()\fR> with \fBd2i_KeyParams\fR\|(3),
298 b<d2i_\fI\s-1TYPE\s0\fR\fB_PUBKEY()\fR> with \fBd2i_PUBKEY\fR\|(3),
299 b<i2d_\fI\s-1TYPE\s0\fR\fBPrivateKey()\fR> with \fBi2d_PrivateKey\fR\|(3),
300 b<i2d_\fI\s-1TYPE\s0\fR\fBPublicKey()\fR> with \fBi2d_PublicKey\fR\|(3),
301 b<i2d_\fI\s-1TYPE\s0\fR\fBparams()\fR> with \fBi2d_KeyParams\fR\|(3),
302 b<i2d_\fI\s-1TYPE\s0\fR\fB_PUBKEY()\fR> with \fBi2d_PUBKEY\fR\|(3).
303 A caveat is that \fBi2d_PrivateKey\fR\|(3) may output a \s-1DER\s0 encoded PKCS#8
305 \&\fBd2i_PrivateKey\fR\|(3) recognises and unpacks a PKCS#8 structures.
307 Use \s-1\fBOSSL_DECODER\s0\fR\|(3) and \s-1\fBOSSL_ENCODER\s0\fR\|(3). How to migrate is described
311 \fIMigrating \f(BIi2d\fI functions to \f(BI\s-1OSSL_ENCODER\s0\fI\fR
314 The exact \s-1\fBOSSL_ENCODER\s0\fR\|(3) output is driven by arguments rather than by
315 function names. The sample code to get \s-1DER\s0 encoded output in a type
317 of what part of the \fB\s-1EVP_PKEY\s0\fR should be output, and the structure. The
320 .IP "\fBi2d_\f(BI\s-1TYPE\s0\fBPrivateKey\fR() translates into:" 4
326 .IP "\fBi2d_\f(BI\s-1TYPE\s0\fBPublicKey\fR() translates into:" 4
332 .IP "\fBi2d_\f(BI\s-1TYPE\s0\fBparams\fR() translates into:" 4
338 .IP "\fBi2d_\f(BI\s-1TYPE\s0\fB_PUBKEY\fR() translates into:" 4
368 The letters \fBi\fR and \fBd\fR in \fBi2d_\f(BI\s-1TYPE\s0\fB\fR() stand for
369 \&\*(L"internal\*(R" (that is, an internal C structure) and \*(L"\s-1DER\*(R"\s0 respectively.
370 So \fBi2d_\f(BI\s-1TYPE\s0\fB\fR() converts from internal to \s-1DER.\s0
372 The functions can also understand \fB\s-1BER\s0\fR forms.
374 The actual \s-1TYPE\s0 structure passed to \fBi2d_\f(BI\s-1TYPE\s0\fB\fR() must be a valid
375 populated \fB\f(BI\s-1TYPE\s0\fB\fR structure \*(-- it \fBcannot\fR simply be fed with an
379 Therefore, any \s-1FILE\s0 pointers or BIOs should be opened in binary mode.
384 can trap the unwary. See the \fB\s-1WARNINGS\s0\fR section in \fBd2i_X509\fR\|(3) for some
386 The reason for this-auto increment behaviour is to reflect a typical
387 usage of \s-1ASN1\s0 functions: after one structure is encoded or decoded
391 .IP "\fB\s-1DSA_PUBKEY\s0\fR" 4
393 Represents a \s-1DSA\s0 public key using a \fBSubjectPublicKeyInfo\fR structure.
396 Use a non-standard OpenSSL format and should be avoided; use \fB\s-1DSA_PUBKEY\s0\fR,
400 \&\fBd2i_\f(BI\s-1TYPE\s0\fB\fR(), \fBd2i_\f(BI\s-1TYPE\s0\fB_bio\fR() and \fBd2i_\f(BI\s-1TYPE\s0\…
401 \&\fB\f(BI\s-1TYPE\s0\fB\fR structure or \s-1NULL\s0 if an error occurs. If the \*(L"reuse\*(R" ca…
402 been used with a valid structure being passed in via \fIa\fR, then the object is
403 freed in the event of error and \fI*a\fR is set to \s-1NULL.\s0
405 \&\fBi2d_\f(BI\s-1TYPE\s0\fB\fR() returns the number of bytes successfully encoded or a negative
408 \&\fBi2d_\f(BI\s-1TYPE\s0\fB_bio\fR() and \fBi2d_\f(BI\s-1TYPE\s0\fB_fp\fR() return 1 for success a…
412 \&\s-1\fBOSSL_ENCODER\s0\fR\|(3), \s-1\fBOSSL_DECODER\s0\fR\|(3),
422 this file except in compliance with the License. You can obtain a copy
423 in the file \s-1LICENSE\s0 in the source distribution or at