diff options
Diffstat (limited to 'src/org/gnunet/peerinfo/RsaPublicKeyBinaryEncoded.java')
-rw-r--r-- | src/org/gnunet/peerinfo/RsaPublicKeyBinaryEncoded.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/gnunet/peerinfo/RsaPublicKeyBinaryEncoded.java b/src/org/gnunet/peerinfo/RsaPublicKeyBinaryEncoded.java index 0fc86f7..86985f3 100644 --- a/src/org/gnunet/peerinfo/RsaPublicKeyBinaryEncoded.java +++ b/src/org/gnunet/peerinfo/RsaPublicKeyBinaryEncoded.java | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | package org.gnunet.peerinfo; | 21 | package org.gnunet.peerinfo; |
22 | 22 | ||
23 | import org.gnunet.construct.FixedSizeByteArray; | 23 | import org.gnunet.construct.FixedSizeIntegerArray; |
24 | import org.gnunet.construct.Message; | 24 | import org.gnunet.construct.Message; |
25 | import org.gnunet.construct.UInt16; | 25 | import org.gnunet.construct.UInt16; |
26 | import org.gnunet.construct.UInt8; | 26 | import org.gnunet.construct.UInt8; |
@@ -45,7 +45,7 @@ public class RsaPublicKeyBinaryEncoded implements Message { | |||
45 | /** | 45 | /** |
46 | * The key itself, contains n followed by e. | 46 | * The key itself, contains n followed by e. |
47 | */ | 47 | */ |
48 | @FixedSizeByteArray(length = RsaPublicKeyBinaryEncoded.GNUNET_CRYPTO_RSA_KEY_LENGTH) | 48 | @FixedSizeIntegerArray(length = RsaPublicKeyBinaryEncoded.GNUNET_CRYPTO_RSA_KEY_LENGTH, signed = false, bitSize = 8) |
49 | public byte[] key; | 49 | public byte[] key; |
50 | 50 | ||
51 | /** | 51 | /** |