Home
last modified time | relevance | path

Searched refs:pem (Results 1 – 25 of 104) sorted by relevance

12345

/NextBSD/crypto/openssl/util/
HDmkcerts.sh22 -keyout pca-key.pem \
23 -out pca-req.pem -nodes >/dev/null <<EOF
44 -req -signkey pca-key.pem \
46 -in pca-req.pem -out pca-cert.pem
58 -keyout ca-key.pem \
59 -out ca-req.pem -nodes >/dev/null <<EOF
82 -CA pca-cert.pem -CAkey pca-key.pem \
83 -in ca-req.pem -out ca-cert.pem
95 -keyout s512-key.pem \
96 -out s512-req.pem -nodes >/dev/null <<EOF
[all …]
/NextBSD/sys/compat/linux/
HDlinux_emul.c75 struct linux_pemuldata *pem; in pem_find() local
77 pem = p->p_emuldata; in pem_find()
79 return (pem); in pem_find()
86 struct linux_pemuldata *pem; in linux_proc_init() local
105 pem = malloc(sizeof(*pem), M_LINUX, M_WAITOK | M_ZERO); in linux_proc_init()
106 sx_init(&pem->pem_sx, "lpemlk"); in linux_proc_init()
107 p->p_emuldata = pem; in linux_proc_init()
128 pem = pem_find(p); in linux_proc_init()
129 KASSERT(pem != NULL, ("proc_exit: proc emuldata not found.\n")); in linux_proc_init()
131 if (pem->epoll != NULL) { in linux_proc_init()
[all …]
HDlinux_event.c177 struct linux_pemuldata *pem; in epoll_fd_install() local
183 pem = pem_find(p); in epoll_fd_install()
184 KASSERT(pem != NULL, ("epoll proc emuldata not found.\n")); in epoll_fd_install()
186 LINUX_PEM_XLOCK(pem); in epoll_fd_install()
187 if (pem->epoll == NULL) { in epoll_fd_install()
190 pem->epoll = emd; in epoll_fd_install()
192 emd = pem->epoll; in epoll_fd_install()
196 pem->epoll = emd; in epoll_fd_install()
200 LINUX_PEM_XUNLOCK(pem); in epoll_fd_install()
253 struct linux_pemuldata *pem; in epoll_to_kevent() local
[all …]
HDlinux_futex.c670 struct linux_pemuldata *pem; in linux_sys_futex() local
958 pem = pem_find(td->td_proc); in linux_sys_futex()
959 if ((pem->flags & LINUX_XUNSUP_FUTEXPIOP) == 0) { in linux_sys_futex()
963 pem->flags |= LINUX_XUNSUP_FUTEXPIOP; in linux_sys_futex()
972 pem = pem_find(td->td_proc); in linux_sys_futex()
973 if ((pem->flags & LINUX_XUNSUP_FUTEXPIOP) == 0) { in linux_sys_futex()
977 pem->flags |= LINUX_XUNSUP_FUTEXPIOP; in linux_sys_futex()
986 pem = pem_find(td->td_proc); in linux_sys_futex()
987 if ((pem->flags & LINUX_XUNSUP_FUTEXPIOP) == 0) { in linux_sys_futex()
991 pem->flags |= LINUX_XUNSUP_FUTEXPIOP; in linux_sys_futex()
[all …]
/NextBSD/crypto/openssl/apps/
HDCA.sh72 CAKEY=./cakey.pem
73 CAREQ=./careq.pem
74 CACERT=./cacert.pem
86 $REQ -new -x509 -keyout newkey.pem -out newcert.pem $DAYS
92 $REQ -new -keyout newkey.pem -out newreq.pem $DAYS
98 $REQ -new -nodes -keyout newreq.pem -out newreq.pem $DAYS
141 $CA -policy policy_anything -infiles newreq.pem
150 $PKCS12 -in newcert.pem -inkey newreq.pem -certfile ${CATOP}/$CACERT \
156 $CA -policy policy_anything -out newcert.pem -infiles newreq.pem
158 cat newcert.pem
[all …]
/NextBSD/crypto/heimdal/lib/hx509/
HDtest_ca.in66 cert:FILE:cert-ee.pem \
76 cert:FILE:cert-ee.pem \
84 FILE:cert-ee.pem || exit 1
88 cert:FILE:cert-ee.pem \
97 FILE:cert-ee.pem || exit 1
101 cert:FILE:cert-ee.pem \
153 cert:FILE:cert-ee.pem \
159 cert:FILE:cert-ee.pem \
165 cert:FILE:cert-ee.pem \
179 cert:FILE:cert-ee.pem \
[all …]
HDtest_crypto.in55 cert:FILE:$srcdir/data/bleichenbacher-good.pem \
56 anchor:FILE:$srcdir/data/bleichenbacher-good.pem > /dev/null || exit 1
61 cert:FILE:$srcdir/data/bleichenbacher-bad.pem \
62 anchor:FILE:$srcdir/data/bleichenbacher-bad.pem > /dev/null && exit 1
67 cert:FILE:$srcdir/data/yutaka-pad-ok-cert.pem \
68 anchor:FILE:$srcdir/data/yutaka-pad-ok-ca.pem > /dev/null || exit 1
73 cert:FILE:$srcdir/data/yutaka-pad-broken-cert.pem \
74 anchor:FILE:$srcdir/data/yutaka-pad-broken-ca.pem > /dev/null && exit 1
81 cert:FILE:$srcdir/data/bleichenbacher-sf-pad-correct.pem \
82 anchor:FILE:$srcdir/data/sf-class2-root.pem > /dev/null && exit 1
[all …]
HDMakefile.am176 out.pem out2.pem \
177 sd sd.pem \
180 cert-null.pem cert-sub-ca2.pem \
181 cert-ee.pem cert-ca.pem \
182 cert-sub-ee.pem cert-sub-ca.pem \
184 wca.pem wuser.pem wdc.pem wcrl.crl \
341 data/n0ll.pem \
342 data/secp160r1TestCA.cert.pem \
343 data/secp160r1TestCA.key.pem \
344 data/secp160r1TestCA.pem \
[all …]
HDtest_cert.in61 FILE:${srcdir}/data/test.crt PEM-FILE:cert-pem.tmp || exit 1
63 ${hxtool} certificate-copy PEM-FILE:cert-pem.tmp DER-FILE:cert-der.tmp || exit 1
66 cmp cert-pem.tmp cert-pem2.tmp || exit 1
71 cert:FILE:$srcdir/data/n0ll.pem \
72 anchor:FILE:$srcdir/data/n0ll.pem && exit 1
76 cert:FILE:$srcdir/data/n0ll.pem \
77 anchor:FILE:$srcdir/data/n0ll.pem && exit 1
HDtest_windows.in70 --ca-certificate=FILE:wca.pem || exit 1
82 --ca-certificate=FILE:wca.pem || exit 1
87 --signer=FILE:wca.pem || exit 1
/NextBSD/secure/lib/libcrypto/
HDMakefile.man211 MAN+= pem.3
1078 MLINKS+= pem.3 PEM.3
1079 MLINKS+= pem.3 PEM_read_bio_PrivateKey.3
1080 MLINKS+= pem.3 PEM_read_PrivateKey.3
1081 MLINKS+= pem.3 PEM_write_bio_PrivateKey.3
1082 MLINKS+= pem.3 PEM_write_PrivateKey.3
1083 MLINKS+= pem.3 PEM_write_bio_PKCS8PrivateKey.3
1084 MLINKS+= pem.3 PEM_write_PKCS8PrivateKey.3
1085 MLINKS+= pem.3 PEM_write_bio_PKCS8PrivateKey_nid.3
1086 MLINKS+= pem.3 PEM_write_PKCS8PrivateKey_nid.3
[all …]
/NextBSD/crypto/openssl/doc/apps/
HDCA.pl.pod43 "newkey.pem" and the request written to the file "newreq.pem".
48 "newkey.pem" and the request written to the file "newreq.pem".
66 file "newcert.pem" and the CA certificate to be in the file demoCA/cacert.pem,
76 to be in the file "newreq.pem". The new certificate is written to the file
77 "newcert.pem" except in the case of the B<-xsign> option when it is written
90 to be present in the file "newreq.pem".
95 are specified on the command line it tries to verify the file "newcert.pem".
125 openssl dsaparam -out dsap.pem 1024
129 openssl req -x509 -newkey dsa:dsap.pem -keyout cacert.pem -out cacert.pem
135 enter cacert.pem when prompted for the CA file name.
[all …]
HDtsget.pod15 [B<-k> private_key.pem]
17 [B<-c> client_cert.pem]
18 [B<-C> CA_certs.pem]
81 =item B<-k> private_key.pem
84 <private_key.pem> must contain the private key of the user. The private key
94 =item B<-c> client_cert.pem
97 <client_cert.pem> must contain the X.509 certificate of the user. The B<-k>
101 =item B<-C> CA_certs.pem
167 -C cacerts.pem file1.tsq
170 client authentication (it will ask for the passphrase if client_key.pem is
[all …]
HDpkey.pod108 openssl pkey -in key.pem -out keyout.pem
112 openssl pkey -in key.pem -des3 -out keyout.pem
116 openssl pkey -in key.pem -outform DER -out keyout.der
120 openssl pkey -in key.pem -text -noout
124 openssl pkey -in key.pem -text_pub -noout
128 openssl pkey -in key.pem -pubout -out pubkey.pem
HDrsautl.pod100 openssl rsautl -sign -in file -inkey key.pem -out sig
104 openssl rsautl -verify -in sig -inkey key.pem
108 openssl rsautl -verify -in file -inkey key.pem -raw -hexdump
125 example in certs/pca-cert.pem . Running B<asn1parse> as follows yields:
127 openssl asn1parse -in pca-cert.pem
151 openssl asn1parse -in pca-cert.pem -out sig -noout -strparse 614
155 openssl x509 -in test/testx509.pem -pubkey -noout >pubkey.pem
159 openssl rsautl -in sig -verify -asn1parse -inkey pubkey.pem -pubin
172 openssl asn1parse -in pca-cert.pem -out tbs -noout -strparse 4
HDgenpkey.pod193 openssl genpkey -algorithm RSA -out key.pem
197 openssl genpkey -algorithm RSA -out key.pem -aes-128-cbc -pass pass:hello
201 openssl genpkey -algorithm RSA -out key.pem -pkeyopt rsa_keygen_bits:2048 \
206 openssl genpkey -genparam -algorithm DSA -out dsap.pem \
211 openssl genpkey -paramfile dsap.pem -out dsakey.pem
215 openssl genpkey -genparam -algorithm DH -out dhp.pem \
220 openssl genpkey -genparam -algorithm DH -out dhp.pem -pkeyopt dh_rfc5114:2
224 openssl genpkey -paramfile dhp.pem -out dhkey.pem
HDec.pod156 openssl ec -in key.pem -des3 -out keyout.pem
160 openssl ec -in key.pem -outform DER -out keyout.der
164 openssl ec -in key.pem -text -noout
168 openssl ec -in key.pem -pubout -out pubkey.pem
172 openssl ec -in key.pem -param_enc explicit -out keyout.pem
176 openssl ec -in key.pem -conv_form compressed -out keyout.pem
HDdsa.pod141 openssl dsa -in key.pem -out keyout.pem
145 openssl dsa -in key.pem -des3 -out keyout.pem
149 openssl dsa -in key.pem -outform DER -out keyout.der
153 openssl dsa -in key.pem -text -noout
157 openssl dsa -in key.pem -pubout -out pubkey.pem
HDrsa.pod175 openssl rsa -in key.pem -out keyout.pem
179 openssl rsa -in key.pem -des3 -out keyout.pem
183 openssl rsa -in key.pem -outform DER -out keyout.der
187 openssl rsa -in key.pem -text -noout
191 openssl rsa -in key.pem -pubout -out pubkey.pem
195 openssl rsa -in key.pem -RSAPublicKey_out -out pubkey.pem
HDcrl2pkcs7.pod67 openssl crl2pkcs7 -in crl.pem -certfile cert.pem -out p7.pem
72 openssl crl2pkcs7 -nocrl -certfile newcert.pem
73 -certfile demoCA/cacert.pem -outform DER -out p7.der
HDnseq.pod47 openssl nseq -in nseq.pem -out certs.pem
51 openssl nseq -in certs.pem -toseq -out nseq.pem
/NextBSD/contrib/unbound/smallapp/
HDunbound-control-setup.sh.in122 openssl req -key $SVR_BASE.key -config request.cfg -new -x509 -days $DAYS -out $SVR_BASE.pem || er…
124 openssl x509 -in $SVR_BASE.pem -addtrust serverAuth -out $SVR_BASE"_trust.pem"
139 …days $DAYS -CA $SVR_BASE"_trust.pem" -CAkey $SVR_BASE.key -CAcreateserial -$HASH -out $CTL_BASE.pem
140 test -f $CTL_BASE.pem || error "could not create $CTL_BASE.pem"
152 chmod o-rw $SVR_BASE.pem $SVR_BASE.key $CTL_BASE.pem $CTL_BASE.key
HDunbound-control-setup.sh122 openssl req -key $SVR_BASE.key -config request.cfg -new -x509 -days $DAYS -out $SVR_BASE.pem || er…
124 openssl x509 -in $SVR_BASE.pem -addtrust serverAuth -out $SVR_BASE"_trust.pem"
139 …days $DAYS -CA $SVR_BASE"_trust.pem" -CAkey $SVR_BASE.key -CAcreateserial -$HASH -out $CTL_BASE.pem
140 test -f $CTL_BASE.pem || error "could not create $CTL_BASE.pem"
152 chmod o-rw $SVR_BASE.pem $SVR_BASE.key $CTL_BASE.pem $CTL_BASE.key
/NextBSD/crypto/openssl/doc/ssl/
HDSSL_CTX_load_verify_locations.pod83 ca1.pem ca2.pem ca3.pem:
86 rm CAfile.pem
87 for i in ca1.pem ca2.pem ca3.pem ; do
88 openssl x509 -in $i -text >> CAfile.pem
/NextBSD/crypto/openssl/doc/crypto/
HDd2i_PKCS8PrivateKey.pod38 corresponding B<PEM> function as described in the L<pem(3)|pem(3)> manual page.
54 L<pem(3)|pem(3)>

12345