관리-도구
편집 파일: IPSECKEY.pyc
� !`Nc @ s\ d d l Z d d l Z d d l Z d d l Z d d l Z d e j j f d � � YZ d S( i����Nt IPSECKEYc B s� e Z d Z d d d d d g Z d � Z d e d � Z d e d � Z e e � Z d d d � Z d d � Z e e � Z d � Z RS( s� IPSECKEY record @ivar precedence: the precedence for this key data @type precedence: int @ivar gateway_type: the gateway type @type gateway_type: int @ivar algorithm: the algorithm to use @type algorithm: int @ivar gateway: the public key @type gateway: None, IPv4 address, IPV6 address, or domain name @ivar key: the public key @type key: string @see: RFC 4025t precedencet gateway_typet algorithmt gatewayt keyc C s� t t | � j | | � | d k rU | d k rL | d k rL t d � � n d } ns | d k r t j j t j j | � } nI | d k r� t j j t j j | � } n | d k r� n t d | � � | | _ | | _ | | _ | | _ | | _ d S( Ni t .s"