| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private DHParameterSpec | |
| private KeyPair | |
| public static final int | |
| private PrivateKey | |
| private PublicKey | |
| private Service | |
| private SecretKey | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | close()
Implements java. Closes this resource, relinquishing any underlying resources. |
| public char[] | |
| public Secret | |
| public Secret | |
| private static BigInteger | |
| public void | |
| public Service | |
| public void | |
| public boolean | |
| private static int |
| AES_BITS | back to summary |
|---|---|
| public static final int AES_BITS | |
| dhParameters | back to summary |
|---|---|
| private DHParameterSpec dhParameters | |
| keypair | back to summary |
|---|---|
| private KeyPair keypair | |
| PRIVATE_VALUE_BITS | back to summary |
|---|---|
| public static final int PRIVATE_VALUE_BITS | |
| privateKey | back to summary |
|---|---|
| private PrivateKey privateKey | |
| publicKey | back to summary |
|---|---|
| private PublicKey publicKey | |
| service | back to summary |
|---|---|
| private Service service | |
| sessionKey | back to summary |
|---|---|
| private SecretKey sessionKey | |
| yb | back to summary |
|---|---|
| private byte[] yb | |
| TransportEncryption | back to summary |
|---|---|
| public TransportEncryption() throws DBusException | |
| TransportEncryption | back to summary |
|---|---|
| public TransportEncryption(DBusConnection connection) | |
| TransportEncryption | back to summary |
|---|---|
| public TransportEncryption(Service service) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| decrypt | back to summary |
|---|---|
| public char[] decrypt(Secret secret) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException | |
| encrypt | back to summary |
|---|---|
| public Secret encrypt(CharSequence plain) throws NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException | |
| encrypt | back to summary |
|---|---|
| public Secret encrypt(byte[] plain, Charset charset) throws NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException | |
| fromBinary | back to summary |
|---|---|
| private static BigInteger fromBinary(byte[] bytes) | |
| generateSessionKey | back to summary |
|---|---|
| public void generateSessionKey() throws NoSuchAlgorithmException, InvalidKeySpecException, InvalidKeyException | |
| getService | back to summary |
|---|---|
| public Service getService() | |
| initialize | back to summary |
|---|---|
| public void initialize() throws NoSuchAlgorithmException, InvalidAlgorithmParameterException | |
| openSession | back to summary |
|---|---|
| public boolean openSession() throws DBusException | |
| toBytes | back to summary |
|---|---|
| private static int toBytes(int bits) | |