3 USING: alien libc kernel-internals byte-arrays ;
7 11 "uchar*" malloc-array buffer set
9 "Hello world" buffer get string>memory
11 buffer get 11 memory>string .
15 11 [ buffer get swap alien-unsigned-1 ] each
31 11 [ buffer get swap alien-unsigned-1 ] map
35 { 72 101 108 108 111 32 119 111 114 108 100 }
39 openssl asn1parse -in file.pem
43 openssl asn1parse -inform DER -in file.der
45 Generate a PKCS#12 file:
47 openssl pkcs12 -export -in certs.pem -out file.p12 -name "MY Certificate"
49 The export option specifies that a PKCS#12 file will be generated (rather