io.sockets.secure.openssl: Fix docs.
parent
1ad2e058d1
commit
a71e2d8060
|
@ -1,13 +1,12 @@
|
||||||
USING: help.markup help.syntax ;
|
USING: help.markup help.syntax kernel strings sequences ;
|
||||||
IN: io.sockets.secure.openssl
|
IN: io.sockets.secure.openssl
|
||||||
|
|
||||||
|
|
||||||
HELP: subject-name
|
HELP: subject-name
|
||||||
{ $values { "certificate" "an SSL peer certificate" } }
|
{ $values { "certificate" "an SSL peer certificate" } { "host" string } }
|
||||||
{ $description "The subject name of a certificate." } ;
|
{ $description "The subject name of a certificate." } ;
|
||||||
|
|
||||||
HELP: subject-names-match?
|
HELP: subject-names-match?
|
||||||
{ $values { "host" "a host name" } { "subject" "a subject name" } }
|
{ $values { "host" "a host name" } { "subject" "a subject name" } { "?" boolean } }
|
||||||
{ $description "True if the host name matches the subject name." }
|
{ $description "True if the host name matches the subject name." }
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $code
|
{ $code
|
||||||
|
@ -17,5 +16,5 @@ HELP: subject-names-match?
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
HELP: alternative-dns-names
|
HELP: alternative-dns-names
|
||||||
{ $values { "certificate" "an SSL peer certificate" } }
|
{ $values { "certificate" "an SSL peer certificate" } { "dns-names" sequence } }
|
||||||
{ $description "Alternative subject names for the certificate." } ;
|
{ $description "Alternative subject names for the certificate." } ;
|
||||||
|
|
Loading…
Reference in New Issue