Uses of Class
org.drasyl.crypto.CryptoException
Packages that use CryptoException
Package
Description
Classes for crypto-related operations.
Contains classes to manage the 
Identity of the drasyl node.- 
Uses of CryptoException in org.drasyl.crypto
Methods in org.drasyl.crypto that throw CryptoExceptionModifier and TypeMethodDescriptionstatic byte[]Crypto.compressedKey(PrivateKey privkey) Generates an asymmetric, compressed curve private key from the given private key.static byte[]Crypto.compressedKey(PublicKey key) Generates an asymmetric, compressed curve public key from the given public key.static PrivateKeyCrypto.getPrivateKeyFromBytes(byte[] privKey) Generates an asymmetric curve private key from the given bytes.static PublicKeyCrypto.getPublicKeyFromBytes(byte[] pubKey) Generates an asymmetric curve public key from the given bytes.static KeyPairCrypto.makeKeyPair(byte[] compressedPrivate, byte[] compressedPublic) Generates an asymmetric curve key pair from the given compressed private and public key.static org.bouncycastle.jce.interfaces.ECPrivateKeyCrypto.parseCompressedPrivateKey(byte[] compressedPrivateKey) Generates an asymmetric curve private key from the given compressed private key.static org.bouncycastle.jce.interfaces.ECPublicKeyCrypto.parseCompressedPublicKey(byte[] compressedPubKey) Generates an asymmetric curve public key from the given compressed public key.static voidCrypto.sign(PrivateKey key, Signable signable) Signs the given signable with the PrivateKey.static byte[]Crypto.signMessage(PrivateKey key, byte[] message) Creates signature from the given message with the PrivateKey. - 
Uses of CryptoException in org.drasyl.identity
Methods in org.drasyl.identity that throw CryptoExceptionModifier and TypeMethodDescriptionstatic CompressedKeyPairstatic CompressedKeyPairstatic CompressedKeyPairCompressedKeyPair.of(PublicKey publicKey, PrivateKey privateKey) static CompressedPrivateKeyConverts aStringinto aCompressedPrivateKey.static CompressedPrivateKeyCompressedPrivateKey.of(PrivateKey key) Converts aPrivateKeyinto aCompressedPrivateKey.static CompressedPublicKeyConverts aStringinto aCompressedPublicKey.static CompressedPublicKeyConverts aPublicKeyinto aCompressedPublicKey.static Identitystatic IdentityIdentity.of(ProofOfWork proofOfWork, String publicKey, String privateKey) CompressedPrivateKey.toUncompressedKey()Returns thePrivateKeyobject of this compressed private key.CompressedPublicKey.toUncompressedKey()Returns thePublicKeyobject of this compressed public key.CompressedKeyPair.toUncompressedKeyPair()Constructors in org.drasyl.identity that throw CryptoExceptionModifierConstructorDescriptionCompressedPrivateKey(String compressedKey) Creates a new compressed private key from the given string.Creates a new compressed private key from the given private key.CompressedPublicKey(String compressedKey) Creates a new compressed public key from the given string.Creates a new compressed public key from the given public key.protected