mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
12 lines
280 B
Java
12 lines
280 B
Java
package org.briarproject.api.crypto;
|
|
|
|
import java.security.GeneralSecurityException;
|
|
|
|
public interface KeyParser {
|
|
|
|
PublicKey parsePublicKey(byte[] encodedKey) throws GeneralSecurityException;
|
|
|
|
PrivateKey parsePrivateKey(byte[] encodedKey)
|
|
throws GeneralSecurityException;
|
|
}
|