2013-11-28 13:59:36 -05:00
|
|
|
USING: help.markup help.syntax kernel strings sequences ;
|
2013-09-14 15:18:13 -04:00
|
|
|
IN: io.sockets.secure.openssl
|
|
|
|
|
|
|
|
HELP: subject-name
|
2013-11-28 13:59:36 -05:00
|
|
|
{ $values { "certificate" "an SSL peer certificate" } { "host" string } }
|
2013-09-14 15:18:13 -04:00
|
|
|
{ $description "The subject name of a certificate." } ;
|
|
|
|
|
|
|
|
HELP: subject-names-match?
|
2013-11-28 13:59:36 -05:00
|
|
|
{ $values { "host" "a host name" } { "subject" "a subject name" } { "?" boolean } }
|
2013-09-14 15:18:13 -04:00
|
|
|
{ $description "True if the host name matches the subject name." }
|
|
|
|
{ $examples
|
|
|
|
{ $code
|
|
|
|
"\"www.google.se\" \"*.google.se\" subject-names-match?"
|
|
|
|
"t"
|
|
|
|
}
|
|
|
|
} ;
|
|
|
|
|
|
|
|
HELP: alternative-dns-names
|
2013-11-28 13:59:36 -05:00
|
|
|
{ $values { "certificate" "an SSL peer certificate" } { "dns-names" sequence } }
|
2013-09-14 15:18:13 -04:00
|
|
|
{ $description "Alternative subject names for the certificate." } ;
|