NAME

JUNOS::Access::ssl - Implements the ssl access method.

SYNOPSIS

This class is used internally to provide ssl access to a JUNOS::Access instance.

DESCRIPTION

This is a subclass of JUNOS::Access that manages a ssl session with the destination host. The underlying mechanics for managing the ssl session is Net::SSLeay.

CONSTRUCTOR

new($ARGS)

See the description of the constructor of the superclass JUNOS::Access. This class also reads the following ssl specific keys from the input hash table reference $ARGS.

    ssl_port			The port number of the ssl server.

    ssl_cert_dir		The certificate directory storing the
				CA certificates for server certification
				validation.

    ssl_verify_method		A callback function provided by the
				client application to perform specific
				validation on the server certificate.

    ssl_client_cert		The file containing the client's 
				certificate.

    ssl_client_key		The file containing the client's 
				key.

    ssl_client_cipher_list	The list of ciphers the client will
				accept while negotiating with the
				server on the cipher suite for the 
				new SSL session.  This is a colon
				separated list.  Its syntax is specified
				in:
	http://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT

SEE ALSO

Net::SSLeay
JUNOS::Access
JUNOS::Device

AUTHOR

Juniper Junoscript Perl Team, send bug reports, hints, tips, and suggestions to support@juniper.net.

COPYRIGHT

Copyright (c) 2001 Juniper Networks, Inc. All rights reserved.