]> sjero.net Git - linphone/blob - p2pproxy/dependencies-src/jstun-src-0.7.1/de/javawi/jstun/attribute/MessageIntegrity.java
7aa7df3d74781a716ea0b8deaa9ed7319203be63
[linphone] / p2pproxy / dependencies-src / jstun-src-0.7.1 / de / javawi / jstun / attribute / MessageIntegrity.java
1 /*
2  * This file is part of JSTUN. 
3  * 
4  * Copyright (c) 2005 Thomas King <king@t-king.de> - All rights
5  * reserved.
6  * 
7  * This software is licensed under either the GNU Public License (GPL),
8  * or the Apache 2.0 license. Copies of both license agreements are
9  * included in this distribution.
10  */
11
12 package de.javawi.jstun.attribute;
13
14 public class MessageIntegrity extends MessageAttribute {
15         // incomplete message integrity implementation
16         public MessageIntegrity() {
17                 super(MessageAttribute.MessageAttributeType.MessageIntegrity);
18         }
19         
20         public byte[] getBytes() {
21                 return new byte[0];
22         }
23         
24         public static MessageIntegrity parse(byte[] data) {
25                 return new MessageIntegrity();
26         }
27 }