org.telegram.mtproto.secure.KeyParameter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegramapi Show documentation
Show all versions of telegramapi Show documentation
Java library to create Telegram Clients
package org.telegram.mtproto.secure;
public class KeyParameter {
private byte[] key;
public KeyParameter(byte[] key) {
this(key, 0, key.length);
}
public KeyParameter(byte[] key, int keyOff, int keyLen) {
this.key = new byte[keyLen];
System.arraycopy(key, keyOff, this.key, 0, keyLen);
}
public byte[] getKey() {
return this.key;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy