Versions in this module Expand all Collapse all v0 v0.0.2 May 20, 2024 Changes in this version + const ADDITIONAL_TS_POSSIBLE + const ANParametersLenEstCause + const ANParametersLenGUAMI + const ANParametersLenPLMNID + const ANParametersTypeEstablishmentCause + const ANParametersTypeGUAMI + const ANParametersTypeRequestedNSSAI + const ANParametersTypeSelectedPLMNID + const APPLICATION_VERSION + const AUTHENTICATION_FAILED + const AUTH_AES_XCBC_96 + const AUTH_DES_MAC + const AUTH_HMAC_MD5_96 + const AUTH_HMAC_SHA1_96 + const AUTH_KPDK_MD5 + const AUTH_NONE + const AttributeFormatUseTLV + const AttributeFormatUseTV + const AttributeTypeKeyLength + const AuthorityRevocationList + const CFG_ACK + const CFG_REPLY + const CFG_REQUEST + const CFG_SET + const CHILD_SA_NOT_FOUND + const COOKIE + const CREATE_CHILD_SA + const CertificateRevocationList + const DH_1024_BIT_MODP + const DH_1536_BIT_MODP + const DH_2048_BIT_MODP + const DH_3072_BIT_MODP + const DH_4096_BIT_MODP + const DH_6144_BIT_MODP + const DH_768_BIT_MODP + const DH_8192_BIT_MODP + const DH_NONE + const DNSSignedKey + const DSSDigitalSignature + const EAP5GSpareValue + const EAP5GType5GNAS + const EAP5GType5GStart + const EAP5GType5GStop + const EAPCodeFailure + const EAPCodeRequest + const EAPCodeResponse + const EAPCodeSuccess + const EAPTypeExpanded + const EAPTypeIdentity + const EAPTypeNak + const EAPTypeNotification + const ENCR_3DES + const ENCR_3IDEA + const ENCR_AES_CBC + const ENCR_AES_CTR + const ENCR_BLOWFISH + const ENCR_CAST + const ENCR_DES + const ENCR_DES_IV32 + const ENCR_DES_IV64 + const ENCR_IDEA + const ENCR_NULL + const ENCR_RC5 + const ESN_NEED + const ESN_NO + const ESP_TFC_PADDING_NOT_SUPPORTED + const EstablishmentCauseEmergency + const EstablishmentCauseHighPriorityAccess + const EstablishmentCauseMCS_PriorityAccess + const EstablishmentCauseMO_Data + const EstablishmentCauseMO_Signalling + const EstablishmentCauseMPS_PriorityAccess + const FAILED_CP_REQUIRED + const HTTP_CERT_LOOKUP_SUPPORTED + const HashAndURLOfX509Bundle + const HashAndURLOfX509Certificate + const ID_DER_ASN1_DN + const ID_DER_ASN1_GN + const ID_FQDN + const ID_IPV4_ADDR + const ID_IPV6_ADDR + const ID_KEY_ID + const ID_RFC822_ADDR + const IKE_AUTH + const IKE_SA_INIT + const INFORMATIONAL + const INITIAL_CONTACT + const INTERNAL_ADDRESS_FAILURE + const INTERNAL_IP4_ADDRESS + const INTERNAL_IP4_DHCP + const INTERNAL_IP4_DNS + const INTERNAL_IP4_NBNS + const INTERNAL_IP4_NETMASK + const INTERNAL_IP4_SUBNET + const INTERNAL_IP6_ADDRESS + const INTERNAL_IP6_DHCP + const INTERNAL_IP6_DNS + const INTERNAL_IP6_SUBNET + const INVALID_IKE_SPI + const INVALID_KE_PAYLOAD + const INVALID_MAJOR_VERSION + const INVALID_MESSAGE_ID + const INVALID_SELECTORS + const INVALID_SPI + const INVALID_SYNTAX + const IPCOMP_SUPPORTED + const IPProtocolAll + const IPProtocolGRE + const IPProtocolICMP + const IPProtocolTCP + const IPProtocolUDP + const InitiatorBitCheck + const KerberosToken + const NAT_DETECTION_DESTINATION_IP + const NAT_DETECTION_SOURCE_IP + const NON_FIRST_FRAGMENTS_ALSO + const NO_ADDITIONAL_SAS + const NO_PROPOSAL_CHOSEN + const NoNext + const NotifyType5G_QOS_INFOBitDCSICheck + const NotifyType5G_QOS_INFOBitDSCPICheck + const PGPCertificate + const PKCS7WrappedX509Certificate + const PRF_HMAC_MD5 + const PRF_HMAC_SHA1 + const PRF_HMAC_TIGER + const REKEY_SA + const RSADigitalSignature + const ResponseBitCheck + const SET_WINDOW_SIZE + const SINGLE_PAIR_REQUIRED + const SPKICertificate + const SUPPORTED_ATTRIBUTES + const SharedKeyMesageIntegrityCode + const TEMPORARY_FAILURE + const TS_IPV4_ADDR_RANGE + const TS_IPV6_ADDR_RANGE + const TS_UNACCEPTABLE + const TypeAH + const TypeAUTH + const TypeCERT + const TypeCERTreq + const TypeCP + const TypeD + const TypeDiffieHellmanGroup + const TypeEAP + const TypeESP + const TypeEncryptionAlgorithm + const TypeExtendedSequenceNumbers + const TypeIDi + const TypeIDr + const TypeIKE + const TypeIntegrityAlgorithm + const TypeKE + const TypeN + const TypeNiNr + const TypeNone + const TypePseudorandomFunction + const TypeSA + const TypeSK + const TypeTSi + const TypeTSr + const TypeV + const UNSUPPORTED_CRITICAL_PAYLOAD + const USE_TRANSPORT_MODE + const Vendor3GPPNotifyType5G_QOS_INFO + const Vendor3GPPNotifyTypeNAS_IP4_ADDRESS + const Vendor3GPPNotifyTypeNAS_TCP_PORT + const Vendor3GPPNotifyTypeUP_IP4_ADDRESS + const VendorID3GPP + const VendorTypeEAP5G + const VersionBitCheck + const X509CertificateAttribute + const X509CertificateSignature + type Authentication struct + AuthenticationData []byte + AuthenticationMethod uint8 + func (authentication *Authentication) Type() IKEPayloadType + type Certificate struct + CertificateData []byte + CertificateEncoding uint8 + func (certificate *Certificate) Type() IKEPayloadType + type CertificateRequest struct + CertificateEncoding uint8 + CertificationAuthority []byte + func (certificateRequest *CertificateRequest) Type() IKEPayloadType + type Configuration struct + ConfigurationAttribute ConfigurationAttributeContainer + ConfigurationType uint8 + func (configuration *Configuration) Type() IKEPayloadType + type ConfigurationAttributeContainer []*IndividualConfigurationAttribute + func (container *ConfigurationAttributeContainer) BuildConfigurationAttribute(attributeType uint16, attributeValue []byte) + func (container *ConfigurationAttributeContainer) Reset() + type Delete struct + NumberOfSPI uint16 + ProtocolID uint8 + SPISize uint8 + SPIs []byte + func (del *Delete) Type() IKEPayloadType + type EAP struct + Code uint8 + EAPTypeData EAPTypeDataContainer + Identifier uint8 + func (eap *EAP) Type() IKEPayloadType + type EAPExpanded struct + VendorData []byte + VendorID uint32 + VendorType uint32 + func (eapExpanded *EAPExpanded) Type() EAPType + type EAPIdentity struct + IdentityData []byte + func (eapIdentity *EAPIdentity) Type() EAPType + type EAPNak struct + NakData []byte + func (eapNak *EAPNak) Type() EAPType + type EAPNotification struct + NotificationData []byte + func (eapNotification *EAPNotification) Type() EAPType + type EAPType uint8 + type EAPTypeDataContainer []EAPTypeFormat + func (container *EAPTypeDataContainer) BuildEAPExpanded(vendorID uint32, vendorType uint32, vendorData []byte) + type EAPTypeFormat interface + Type func() EAPType + type Encrypted struct + EncryptedData []byte + NextPayload uint8 + func (encrypted *Encrypted) Type() IKEPayloadType + type IKEMessage struct + ExchangeType uint8 + Flags uint8 + InitiatorSPI uint64 + MessageID uint32 + Payloads IKEPayloadContainer + ResponderSPI uint64 + Version uint8 + func (ikeMessage *IKEMessage) BuildIKEHeader(initiatorSPI uint64, responsorSPI uint64, exchangeType uint8, flags uint8, ...) + func (ikeMessage *IKEMessage) Decode(rawData []byte) error + func (ikeMessage *IKEMessage) Encode() ([]byte, error) + type IKEPayload interface + Type func() IKEPayloadType + type IKEPayloadContainer []IKEPayload + func (container *IKEPayloadContainer) BUildKeyExchange(diffiehellmanGroup uint16, keyExchangeData []byte) + func (container *IKEPayloadContainer) BuildAuthentication(authenticationMethod uint8, authenticationData []byte) + func (container *IKEPayloadContainer) BuildCertificate(certificateEncode uint8, certificateData []byte) + func (container *IKEPayloadContainer) BuildConfiguration(configurationType uint8) *Configuration + func (container *IKEPayloadContainer) BuildDeletePayload(protocolID uint8, SPISize uint8, numberOfSPI uint16, SPIs []byte) + func (container *IKEPayloadContainer) BuildEAP(code uint8, identifier uint8) *EAP + func (container *IKEPayloadContainer) BuildEAP5GNAS(identifier uint8, nasPDU []byte) + func (container *IKEPayloadContainer) BuildEAP5GStart(identifier uint8) + func (container *IKEPayloadContainer) BuildEAPSuccess(identifier uint8) + func (container *IKEPayloadContainer) BuildEAPfailure(identifier uint8) + func (container *IKEPayloadContainer) BuildEncrypted(nextPayload IKEPayloadType, encryptedData []byte) *Encrypted + func (container *IKEPayloadContainer) BuildIdentificationInitiator(idType uint8, idData []byte) + func (container *IKEPayloadContainer) BuildIdentificationResponder(idType uint8, idData []byte) + func (container *IKEPayloadContainer) BuildNonce(nonceData []byte) + func (container *IKEPayloadContainer) BuildNotification(protocolID uint8, notifyMessageType uint16, spi []byte, ...) + func (container *IKEPayloadContainer) BuildNotify5G_QOS_INFO(pduSessionID uint8, qfiList []uint8, isDefault bool, isDSCPSpecified bool, ...) + func (container *IKEPayloadContainer) BuildNotifyNAS_IP4_ADDRESS(nasIPAddr string) + func (container *IKEPayloadContainer) BuildNotifyNAS_TCP_PORT(port uint16) + func (container *IKEPayloadContainer) BuildNotifyUP_IP4_ADDRESS(upIPAddr string) + func (container *IKEPayloadContainer) BuildSecurityAssociation() *SecurityAssociation + func (container *IKEPayloadContainer) BuildTrafficSelectorInitiator() *TrafficSelectorInitiator + func (container *IKEPayloadContainer) BuildTrafficSelectorResponder() *TrafficSelectorResponder + func (container *IKEPayloadContainer) Decode(nextPayload uint8, rawData []byte) error + func (container *IKEPayloadContainer) Encode() ([]byte, error) + func (container *IKEPayloadContainer) Reset() + type IKEPayloadType uint8 + type IdentificationInitiator struct + IDData []byte + IDType uint8 + func (identification *IdentificationInitiator) Type() IKEPayloadType + type IdentificationResponder struct + IDData []byte + IDType uint8 + func (identification *IdentificationResponder) Type() IKEPayloadType + type IndividualConfigurationAttribute struct + Type uint16 + Value []byte + type IndividualTrafficSelector struct + EndAddress []byte + EndPort uint16 + IPProtocolID uint8 + StartAddress []byte + StartPort uint16 + TSType uint8 + type IndividualTrafficSelectorContainer []*IndividualTrafficSelector + func (container *IndividualTrafficSelectorContainer) BuildIndividualTrafficSelector(tsType uint8, ipProtocolID uint8, startPort uint16, endPort uint16, ...) + func (container *IndividualTrafficSelectorContainer) Reset() + type KeyExchange struct + DiffieHellmanGroup uint16 + KeyExchangeData []byte + func (keyExchange *KeyExchange) Type() IKEPayloadType + type Nonce struct + NonceData []byte + func (nonce *Nonce) Type() IKEPayloadType + type Notification struct + NotificationData []byte + NotifyMessageType uint16 + ProtocolID uint8 + SPI []byte + func (notification *Notification) Type() IKEPayloadType + type Proposal struct + DiffieHellmanGroup TransformContainer + EncryptionAlgorithm TransformContainer + ExtendedSequenceNumbers TransformContainer + IntegrityAlgorithm TransformContainer + ProposalNumber uint8 + ProtocolID uint8 + PseudorandomFunction TransformContainer + SPI []byte + type ProposalContainer []*Proposal + func (container *ProposalContainer) BuildProposal(proposalNumber uint8, protocolID uint8, spi []byte) *Proposal + func (container *ProposalContainer) Reset() + type SecurityAssociation struct + Proposals ProposalContainer + func (securityAssociation *SecurityAssociation) Type() IKEPayloadType + type TrafficSelectorInitiator struct + TrafficSelectors IndividualTrafficSelectorContainer + func (trafficSelector *TrafficSelectorInitiator) Type() IKEPayloadType + type TrafficSelectorResponder struct + TrafficSelectors IndividualTrafficSelectorContainer + func (trafficSelector *TrafficSelectorResponder) Type() IKEPayloadType + type Transform struct + AttributeFormat uint8 + AttributePresent bool + AttributeType uint16 + AttributeValue uint16 + TransformID uint16 + TransformType uint8 + VariableLengthAttributeValue []byte + type TransformContainer []*Transform + func (container *TransformContainer) BuildTransform(transformType uint8, transformID uint16, attributeType *uint16, ...) + func (container *TransformContainer) Reset() + type VendorID struct + VendorIDData []byte + func (vendorID *VendorID) Type() IKEPayloadType