Home
last modified time | relevance | path

Searched refs:ASN1_INTEGER (Results 1 – 25 of 151) sorted by relevance

1234567

/freebsd/crypto/openssl/crypto/ts/
H A Dts_local.h43 ASN1_INTEGER *version;
46 ASN1_INTEGER *nonce;
58 ASN1_INTEGER *seconds;
59 ASN1_INTEGER *millis;
60 ASN1_INTEGER *micros;
83 ASN1_INTEGER *version;
86 ASN1_INTEGER *serial;
90 ASN1_INTEGER *nonce;
96 ASN1_INTEGER *status;
110 ASN1_INTEGER *seconds; /* accuracy, 0 means not specified. */
[all …]
H A Dts_rsp_utils.c110 int TS_TST_INFO_set_serial(TS_TST_INFO *a, const ASN1_INTEGER *serial) in TS_TST_INFO_set_serial()
112 ASN1_INTEGER *new_serial; in TS_TST_INFO_set_serial()
126 const ASN1_INTEGER *TS_TST_INFO_get_serial(const TS_TST_INFO *a) in TS_TST_INFO_get_serial()
173 int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds) in TS_ACCURACY_set_seconds()
175 ASN1_INTEGER *new_seconds; in TS_ACCURACY_set_seconds()
189 const ASN1_INTEGER *TS_ACCURACY_get_seconds(const TS_ACCURACY *a) in TS_ACCURACY_get_seconds()
194 int TS_ACCURACY_set_millis(TS_ACCURACY *a, const ASN1_INTEGER *millis) in TS_ACCURACY_set_millis()
196 ASN1_INTEGER *new_millis = NULL; in TS_ACCURACY_set_millis()
212 const ASN1_INTEGER *TS_ACCURACY_get_millis(const TS_ACCURACY *a) in TS_ACCURACY_get_millis()
217 int TS_ACCURACY_set_micros(TS_ACCURACY *a, const ASN1_INTEGER *micros) in TS_ACCURACY_set_micros()
[all …]
H A Dts_asn1.c46 ASN1_SIMPLE(TS_REQ, version, ASN1_INTEGER),
49 ASN1_OPT(TS_REQ, nonce, ASN1_INTEGER),
78 ASN1_OPT(TS_ACCURACY, seconds, ASN1_INTEGER),
79 ASN1_IMP_OPT(TS_ACCURACY, millis, ASN1_INTEGER, 0),
80 ASN1_IMP_OPT(TS_ACCURACY, micros, ASN1_INTEGER, 1)
87 ASN1_SIMPLE(TS_TST_INFO, version, ASN1_INTEGER),
90 ASN1_SIMPLE(TS_TST_INFO, serial, ASN1_INTEGER),
94 ASN1_OPT(TS_TST_INFO, nonce, ASN1_INTEGER),
125 ASN1_SIMPLE(TS_STATUS_INFO, status, ASN1_INTEGER),
/freebsd/crypto/openssl/doc/man3/
H A DASN1_INTEGER_get_int64.pod13 int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a);
14 long ASN1_INTEGER_get(const ASN1_INTEGER *a);
16 int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r);
17 int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
19 int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a);
20 int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r);
22 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
23 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
36 These functions convert to and from B<ASN1_INTEGER> and B<ASN1_ENUMERATED>
39 ASN1_INTEGER_get_int64() converts an B<ASN1_INTEGER> into an B<int64_t> type
[all …]
H A DASN1_INTEGER_new.pod5 ASN1_INTEGER_new, ASN1_INTEGER_free - ASN1_INTEGER allocation functions
13 ASN1_INTEGER *ASN1_INTEGER_new(void);
14 void ASN1_INTEGER_free(ASN1_INTEGER *a);
18 ASN1_INTEGER_new() returns an allocated B<ASN1_INTEGER> structure.
20 ASN1_INTEGER_free() frees up a single B<ASN1_INTEGER> object.
23 B<ASN1_INTEGER> structure representing the ASN.1 INTEGER type
27 ASN1_INTEGER_new() return a valid B<ASN1_INTEGER> structure or NULL
H A DX509_get_serialNumber.pod14 ASN1_INTEGER *X509_get_serialNumber(X509 *x);
15 const ASN1_INTEGER *X509_get0_serialNumber(const X509 *x);
16 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial);
21 B<ASN1_INTEGER> structure which can be examined or initialised. The value
33 X509_get_serialNumber() and X509_get0_serialNumber() return an B<ASN1_INTEGER>
/freebsd/crypto/openssl/crypto/asn1/
H A Da_int.c18 ASN1_INTEGER *ASN1_INTEGER_dup(const ASN1_INTEGER *x) in ASN1_INTEGER_dup()
23 int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y) in ASN1_INTEGER_cmp()
207 int ossl_i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp) in ossl_i2c_ASN1_INTEGER()
286 ASN1_INTEGER *ossl_c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp, in ossl_c2i_ASN1_INTEGER()
289 ASN1_INTEGER *ret = NULL; in ossl_c2i_ASN1_INTEGER()
395 ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp, in d2i_ASN1_UINTEGER()
398 ASN1_INTEGER *ret = NULL; in d2i_ASN1_UINTEGER()
464 ASN1_INTEGER *ret; in bn_to_asn1_string()
505 static BIGNUM *asn1_string_to_bn(const ASN1_INTEGER *ai, BIGNUM *bn, in asn1_string_to_bn()
525 int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a) in ASN1_INTEGER_get_int64()
[all …]
H A Dasn1_local.h82 int ossl_i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp);
83 ASN1_INTEGER *ossl_c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp,
/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_local.h66 ASN1_INTEGER *version;
109 ASN1_INTEGER *serialNumber;
123 ASN1_INTEGER *pubMethod;
142 ASN1_INTEGER *action;
188 ASN1_INTEGER *subsequentMessage; /* 1 */
211 ASN1_INTEGER *iterationCount;
307 ASN1_INTEGER *version;
308 ASN1_INTEGER *serialNumber; /* serialNumber MUST be omitted */
331 ASN1_INTEGER *certReqId;
H A Dcrmf_asn.c22 ASN1_SIMPLE(OSSL_CRMF_PRIVATEKEYINFO, version, ASN1_INTEGER),
47 ASN1_SIMPLE(OSSL_CRMF_CERTID, serialNumber, ASN1_INTEGER)
64 ASN1_SIMPLE(OSSL_CRMF_SINGLEPUBINFO, pubMethod, ASN1_INTEGER),
71 ASN1_SIMPLE(OSSL_CRMF_PKIPUBLICATIONINFO, action, ASN1_INTEGER),
88 ASN1_IMP(OSSL_CRMF_POPOPRIVKEY, value.subsequentMessage, ASN1_INTEGER, 1),
99 ASN1_SIMPLE(OSSL_CRMF_PBMPARAMETER, iterationCount, ASN1_INTEGER),
186 ASN1_IMP_OPT(OSSL_CRMF_CERTTEMPLATE, version, ASN1_INTEGER, 0),
191 ASN1_IMP_OPT(OSSL_CRMF_CERTTEMPLATE, serialNumber, ASN1_INTEGER, 1),
213 ASN1_SIMPLE(OSSL_CRMF_CERTREQUEST, certReqId, ASN1_INTEGER),
/freebsd/crypto/openssl/include/openssl/
H A Dts.h125 const ASN1_INTEGER *TS_STATUS_INFO_get0_status(const TS_STATUS_INFO *a);
145 int TS_REQ_set_nonce(TS_REQ *a, const ASN1_INTEGER *nonce);
146 const ASN1_INTEGER *TS_REQ_get_nonce(const TS_REQ *a);
185 int TS_TST_INFO_set_serial(TS_TST_INFO *a, const ASN1_INTEGER *serial);
186 const ASN1_INTEGER *TS_TST_INFO_get_serial(const TS_TST_INFO *a);
194 int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds);
195 const ASN1_INTEGER *TS_ACCURACY_get_seconds(const TS_ACCURACY *a);
197 int TS_ACCURACY_set_millis(TS_ACCURACY *a, const ASN1_INTEGER *millis);
198 const ASN1_INTEGER *TS_ACCURACY_get_millis(const TS_ACCURACY *a);
200 int TS_ACCURACY_set_micros(TS_ACCURACY *a, const ASN1_INTEGER *micros);
[all …]
H A Dasn1.h527 ASN1_INTEGER *integer;
697 SKM_DEFINE_STACK_OF_INTERNAL(ASN1_INTEGER, ASN1_INTEGER, ASN1_INTEGER)
699 #define sk_ASN1_INTEGER_value(sk, idx) ((ASN1_INTEGER *)OPENSSL_sk_value(ossl_check_const_ASN1_INTE…
700 #define sk_ASN1_INTEGER_new(cmp) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new(ossl_check_ASN1_INTEGER_…
701 #define sk_ASN1_INTEGER_new_null() ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new_null())
702 #define sk_ASN1_INTEGER_new_reserve(cmp, n) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new_reserve(ossl_…
706 #define sk_ASN1_INTEGER_delete(sk, i) ((ASN1_INTEGER *)OPENSSL_sk_delete(ossl_check_ASN1_INTEGER_sk…
707 #define sk_ASN1_INTEGER_delete_ptr(sk, ptr) ((ASN1_INTEGER *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_…
710 #define sk_ASN1_INTEGER_pop(sk) ((ASN1_INTEGER *)OPENSSL_sk_pop(ossl_check_ASN1_INTEGER_sk_type(sk)…
711 #define sk_ASN1_INTEGER_shift(sk) ((ASN1_INTEGER *)OPENSSL_sk_shift(ossl_check_ASN1_INTEGER_sk_type…
[all …]
H A Dx509v3.h.in123 ASN1_INTEGER *pathlen;
185 typedef STACK_OF(ASN1_INTEGER) TLS_FEATURE;
232 ASN1_INTEGER *serial;
238 ASN1_INTEGER *zone;
248 ASN1_INTEGER *version;
261 STACK_OF(ASN1_INTEGER) *noticenos;
307 ASN1_INTEGER *minimum;
308 ASN1_INTEGER *maximum;
321 ASN1_INTEGER *requireExplicitPolicy;
322 ASN1_INTEGER *inhibitPolicyMapping;
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_sxnet.c44 ASN1_SIMPLE(SXNETID, zone, ASN1_INTEGER),
51 ASN1_SIMPLE(SXNET, version, ASN1_INTEGER),
122 ASN1_INTEGER *izone; in SXNET_add_id_asc()
140 ASN1_INTEGER *izone; in SXNET_add_id_ulong()
160 int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, const char *user, in SXNET_add_id_INTEGER()
214 ASN1_INTEGER *izone; in SXNET_get_id_asc()
228 ASN1_INTEGER *izone; in SXNET_get_id_ulong()
242 ASN1_OCTET_STRING *SXNET_get_id_INTEGER(SXNET *sx, ASN1_INTEGER *zone) in SXNET_get_id_INTEGER()
H A Dv3_int.c16 NID_crl_number, 0, ASN1_ITEM_ref(ASN1_INTEGER),
24 NID_delta_crl, 0, ASN1_ITEM_ref(ASN1_INTEGER),
38 NID_inhibit_any_policy, 0, ASN1_ITEM_ref(ASN1_INTEGER),
H A Dv3_asid.c35 ASN1_SIMPLE(ASRange, min, ASN1_INTEGER),
36 ASN1_SIMPLE(ASRange, max, ASN1_INTEGER)
40 ASN1_SIMPLE(ASIdOrRange, u.id, ASN1_INTEGER),
186 int which, ASN1_INTEGER *min, ASN1_INTEGER *max) in X509v3_asid_add_id_or_range()
245 ASN1_INTEGER **min, ASN1_INTEGER **max) in extract_min_max()
268 ASN1_INTEGER *a_max_plus_one = NULL; in ASIdentifierChoice_is_canonical()
269 ASN1_INTEGER *orig; in ASIdentifierChoice_is_canonical()
292 ASN1_INTEGER *a_min = NULL, *a_max = NULL, *b_min = NULL, *b_max = in ASIdentifierChoice_is_canonical()
337 ASN1_INTEGER *a_min, *a_max; in ASIdentifierChoice_is_canonical()
368 ASN1_INTEGER *a_max_plus_one = NULL; in ASIdentifierChoice_canonize()
[all …]
H A Dv3_tlsf.c27 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, TLS_FEATURE, ASN1_INTEGER)
66 ASN1_INTEGER *ai; in STACK_OF()
92 ASN1_INTEGER *ai = NULL; in v2i_TLS_FEATURE()
/freebsd/crypto/openssl/crypto/pkcs7/
H A Dpk7_asn1.c127 ASN1_SIMPLE(PKCS7_SIGNED, version, ASN1_INTEGER),
149 ASN1_SIMPLE(PKCS7_SIGNER_INFO, version, ASN1_INTEGER),
167 ASN1_SIMPLE(PKCS7_ISSUER_AND_SERIAL, serial, ASN1_INTEGER)
173 ASN1_SIMPLE(PKCS7_ENVELOPE, version, ASN1_INTEGER),
192 ASN1_SIMPLE(PKCS7_RECIP_INFO, version, ASN1_INTEGER),
209 ASN1_SIMPLE(PKCS7_SIGN_ENVELOPE, version, ASN1_INTEGER),
221 ASN1_SIMPLE(PKCS7_ENCRYPT, version, ASN1_INTEGER),
228 ASN1_SIMPLE(PKCS7_DIGEST, version, ASN1_INTEGER),
/freebsd/crypto/openssl/include/crypto/
H A Dx509.h65 ASN1_INTEGER *version; /* version, defaults to v1(0) so can be NULL */
90 ASN1_INTEGER *version; /* version: defaults to v1(0) so may be NULL */
116 ASN1_INTEGER *crl_number;
117 ASN1_INTEGER *base_crl_number;
131 ASN1_INTEGER serialNumber; /* revoked entry serial number */
161 ASN1_INTEGER *version; /* [ 0 ] default of v1 */
162 ASN1_INTEGER serialNumber;
289 ASN1_INTEGER *version;
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_asn.c23 ASN1_SIMPLE(OSSL_CMP_REVANNCONTENT, status, ASN1_INTEGER),
48 OSSL_CMP_POPODECKEYRESPCONTENT, ASN1_INTEGER)
65 ASN1_OPT(OSSL_CMP_ERRORMSGCONTENT, errorCode, ASN1_INTEGER),
192 int ossl_cmp_asn1_get_int(const ASN1_INTEGER *a) in ossl_cmp_asn1_get_int()
303 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_UNIVERSAL, 0, status, ASN1_INTEGER)
323 ASN1_SIMPLE(OSSL_CMP_CERTSTATUS, certReqId, ASN1_INTEGER),
334 ASN1_SIMPLE(OSSL_CMP_CERTRESPONSE, certReqId, ASN1_INTEGER),
343 ASN1_SIMPLE(OSSL_CMP_POLLREQ, certReqId, ASN1_INTEGER)
353 ASN1_SIMPLE(OSSL_CMP_POLLREP, certReqId, ASN1_INTEGER),
354 ASN1_SIMPLE(OSSL_CMP_POLLREP, checkAfter, ASN1_INTEGER),
[all …]
H A Dcmp_local.h152 ASN1_INTEGER *status;
358 ASN1_INTEGER *errorCode;
377 ASN1_INTEGER *certReqId;
398 ASN1_INTEGER *certReqId;
424 ASN1_INTEGER *certReqId;
439 ASN1_INTEGER *certReqId;
440 ASN1_INTEGER *checkAfter;
483 ASN1_INTEGER *pvno;
499 typedef STACK_OF(ASN1_INTEGER) OSSL_CMP_POPODECKEYRESPCONTENT;
734 int ossl_cmp_asn1_get_int(const ASN1_INTEGER *a);
/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_local.h22 ASN1_INTEGER serialNumber;
41 ASN1_INTEGER *version;
158 ASN1_INTEGER *version;
206 ASN1_INTEGER *crlNum;
H A Docsp_asn.c27 ASN1_EMBED(OCSP_CERTID, serialNumber, ASN1_INTEGER)
40 ASN1_EXP_OPT(OCSP_REQINFO, version, ASN1_INTEGER, 0),
104 ASN1_EXP_OPT(OCSP_RESPDATA, version, ASN1_INTEGER, 0),
124 ASN1_EXP_OPT(OCSP_CRLID, crlNum, ASN1_INTEGER, 1),
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_local.h13 ASN1_INTEGER *iter; /* defaults to 1 */
17 ASN1_INTEGER *version;
/freebsd/crypto/openssl/apps/
H A Dts.c46 static ASN1_INTEGER *create_nonce(int bits);
59 static ASN1_INTEGER *serial_cb(TS_RESP_CTX *ctx, void *data);
60 static ASN1_INTEGER *next_serial(const char *serialfile);
61 static int save_ts_serial(const char *serialfile, ASN1_INTEGER *serial);
451 ASN1_INTEGER *nonce_asn1 = NULL; in create_query()
554 static ASN1_INTEGER *create_nonce(int bits) in create_nonce()
557 ASN1_INTEGER *nonce = NULL; in create_nonce()
566 /* Find the first non-zero byte and creating ASN1_INTEGER object. */ in create_nonce()
763 static ASN1_INTEGER *serial_cb(TS_RESP_CTX *ctx, void *data) in serial_cb()
766 ASN1_INTEGER *seria in serial_cb()
[all...]

1234567