Handbook
Glossary
x509name>string ( x509name -- string )
Vocabulary
io
.
sockets
.
secure
.
openssl
Inputs
x509name
an
object
Outputs
string
an
object
Definition
USING:
alien.strings
byte-arrays
io.encodings.latin1
kernel
openssl.libssl
;
IN:
io.sockets.secure.openssl
:
x509name>string
( x509name -- string )
NID_commonName
256
<byte-array>
[
256
X509_NAME_get_text_by_NID
]
keep
swap
-1
=
[
drop
f
]
[
latin1
alien>string
]
if
;