.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "fr::crypto::CMS_get0_type 3SSL" .TH fr::crypto::CMS_get0_type 3SSL "2015-01-30" "1.0.1k" "OpenSSL" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NOM" .IX Header "NOM" .Vb 1 \& CMS_get0_type, CMS_set1_eContentType, CMS_get0_eContentType \- Obtenir et définir les types de contenu CMS .Ve .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& #include \& \& const ASN1_OBJECT *CMS_get0_type(CMS_ContentInfo *cms); \& int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid); \& const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms); .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBCMS_get0_type\fR() renvoie le type de contenu d'une structure CMS_ContentInfo comme un pointeur \s-1ASN1_OBJECT.\s0 Une application peut alors décider de la façon de traiter la structure CMS_ContentInfo en fonction de cette valeur. .PP \&\fBCMS_set1_eContentType\fR() définit le type de contenu embarqué d'une structure CMS_ContentInfo. Elle devrait être appelée avec des fonctions \s-1CMS\s0 avec l'attribut \fB\s-1CMS_PARTIAL\s0\fR et \fBavant\fR de finaliser la structure, sinon le résultat est indéfini. .PP \&\fBCMS_get0_eContentType\fR() renvoie un pointeur vers le type de contenu embarqué. .SH "NOTES" .IX Header "NOTES" Comme le \fB0\fR implique que \fBCMS_get0_type\fR() et \fBCMS_get0_eContentType\fR() renvoient des pointeurs internes qui ne devraient \fBpas\fR être libérés, \&\fBCMS_set1_eContentType\fR() copie l'\s-1OID\s0 fourni et il \fBdevrait\fR être libéré après utilisation. .PP Les valeurs \fB\s-1ASN1_OBJECT\s0\fR renvoyées peuvent être converties vers une valeur entière \fB\s-1NID\s0\fR en utilisant \fBOBJ_obj2nid\fR(). Pour les types de contenu actuellement pris en charge, les valeurs suivantes sont renvoyées : .PP .Vb 6 \& NID_pkcs7_data \& NID_pkcs7_signed \& NID_pkcs7_digest \& NID_id_smime_ct_compressedData: \& NID_pkcs7_encrypted \& NID_pkcs7_enveloped .Ve .SH "VALEURS DE RETOUR" .IX Header "VALEURS DE RETOUR" \&\fBCMS_get0_type\fR() et \fBCMS_get0_eContentType\fR() renvoient une structure \&\s-1ASN1_OBJECT.\s0 .PP \&\fBCMS_set1_eContentType\fR() renvoie \fB1\fR en cas de réussite et \fB0\fR en cas d'erreur. L'erreur peut être obtenue avec \&\fIERR_get_error\fR\|(3). .SH "VOIR AUSSI" .IX Header "VOIR AUSSI" \&\fIERR_get_error\fR\|(3) .SH "HISTORIQUE" .IX Header "HISTORIQUE" \&\fBCMS_get0_type\fR(), \fBCMS_set1_eContentType\fR() et \fBCMS_get0_eContentType\fR() ont toutes été ajoutées la première fois à OpenSSL 0.9.8 .SH "TRADUCTION" .IX Header "TRADUCTION" La traduction de cette page de manuel est maintenue par les membres de la liste . Veuillez signaler toute erreur de traduction par un rapport de bogue sur le paquet manpages-fr-extra.