@Test public void generateSignature_nullData() { assertThrows(NullArgumentException.class, () -> { this.cardCrypto.generateSignature(null, this.privateKey); }); }
public byte[] generateSignature(byte[] data, VirgilPrivateKey privateKey) throws CryptoException { return virgilCrypto.generateSignature(data, privateKey); }
VirgilCardCrypto { public byte[] generateSignature(byte[] data, VirgilPrivateKey privateKey) throws CryptoException { return virgilCrypto.generateSignature(data, privateKey); } }
VirgilCardCrypto { public byte[] generateSignature(byte[] data, VirgilPrivateKey privateKey) throws CryptoException { return virgilCrypto.generateSignature(data, privateKey); } VirgilCardCrypto();  VirgilCardCrypto(VirgilCrypto virgilCrypto); }
VirgilCardCrypto { public byte[] generateSignature(byte[] data, VirgilPrivateKey privateKey) throws CryptoException { return virgilCrypto.generateSignature(data, privateKey); } VirgilCardCrypto();  VirgilCardCrypto(VirgilCrypto virgilCrypto); byte[] exportPublicKey(VirgilPublicKey publicKey); byte[] computeSha512(byte[] data); byte[] generateSignature(byte[] data, VirgilPrivateKey privateKey); VirgilCrypto getVirgilCrypto(); VirgilPublicKey importPublicKey(byte[] data); boolean verifySignature(byte[] signature, byte[] data, VirgilPublicKey publicKey); }
VirgilCardCrypto { public byte[] generateSignature(byte[] data, VirgilPrivateKey privateKey) throws CryptoException { return virgilCrypto.generateSignature(data, privateKey); } VirgilCardCrypto();  VirgilCardCrypto(VirgilCrypto virgilCrypto); byte[] exportPublicKey(VirgilPublicKey publicKey); byte[] computeSha512(byte[] data); byte[] generateSignature(byte[] data, VirgilPrivateKey privateKey); VirgilCrypto getVirgilCrypto(); VirgilPublicKey importPublicKey(byte[] data); boolean verifySignature(byte[] signature, byte[] data, VirgilPublicKey publicKey);  }