Created
February 7, 2020 13:42
-
-
Save OleksandrKucherenko/e97c3f89d0cd19734fea210eee9d2c5b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.oblador.keychain; | |
import javax.crypto.KeyGeneratorSpi; | |
import javax.crypto.SecretKey; | |
public abstract class FakeKeyGeneratorSpi extends KeyGeneratorSpi { | |
@Override | |
protected SecretKey engineGenerateKey() { | |
return doEngineGenerateKey(); | |
} | |
public abstract SecretKey doEngineGenerateKey(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment