Skip to content

Commit

Permalink
Add RFC 4740 (SIP) dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Svensson committed Dec 16, 2011
1 parent 093f103 commit 69cc61f
Show file tree
Hide file tree
Showing 3 changed files with 500 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/diameter/test/diameter_compiler_SUITE.erl
Expand Up @@ -331,7 +331,9 @@
%% Standard dictionaries.
-define(STANDARDS, [rfc4005_nas,
rfc4006_cc,
rfc4072_eap]).
rfc4072_eap,
rfc4590_digest,
rfc4740_sip]).

%% ===========================================================================

Expand Down Expand Up @@ -449,6 +451,8 @@ opts(M)
when M == "rfc4006_cc";
M == "rfc4072_eap" ->
[{inherits, "diameter_gen_nas_rfc4005/rfc4005_nas"}];
opts("rfc4740_sip") ->
[{inherits, "diameter_gen_digest_rfc4590/rfc4590_digest"}];
opts(_) ->
[].

Expand Down
47 changes: 47 additions & 0 deletions lib/diameter/test/diameter_compiler_SUITE_data/rfc4590_digest.dia
@@ -0,0 +1,47 @@
;;
;; %CopyrightBegin%
;;
;; Copyright Ericsson AB 2010-2011. All Rights Reserved.
;;
;; The contents of this file are subject to the Erlang Public License,
;; Version 1.1, (the "License"); you may not use this file except in
;; compliance with the License. You should have received a copy of the
;; Erlang Public License along with this software. If not, it can be
;; retrieved online at http://www.erlang.org/.
;;
;; Software distributed under the License is distributed on an "AS IS"
;; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
;; the License for the specific language governing rights and limitations
;; under the License.
;;
;; %CopyrightEnd%
;;

;;
;; RFC 4590, RADIUS Extension for Digest Authentication
;;

@name diameter_gen_digest_rfc4590

@avp_types

Digest-Response 103 OctetString -
Digest-Realm 104 OctetString -
Digest-Nonce 105 OctetString -
Digest-Response-Auth 106 OctetString -
Digest-Nextnonce 107 OctetString -
Digest-Method 108 OctetString -
Digest-URI 109 OctetString -
Digest-Qop 110 OctetString -
Digest-Algorithm 111 OctetString -
Digest-Entity-Body-Hash 112 OctetString -
Digest-CNonce 113 OctetString -
Digest-Nonce-Count 114 OctetString -
Digest-Username 115 OctetString -
Digest-Opaque 116 OctetString -
Digest-Auth-Param 117 OctetString -
Digest-AKA-Auts 118 OctetString -
Digest-Domain 119 OctetString -
Digest-Stale 120 OctetString -
Digest-HA1 121 OctetString -
SIP-AOR 122 OctetString -

0 comments on commit 69cc61f

Please sign in to comment.