io.realm.android.internal.android.crypto.ciper.CipherLegacy.get()

Here are the examples of the java api io.realm.android.internal.android.crypto.ciper.CipherLegacy.get() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : CipherFactory.java
with Apache License 2.0
from realm

public static Cipher get() throws NoSuchPaddingException, NoSuchAlgorithmException, NoSuchProviderException {
    if (IS_MM) {
        return CipherMM.get();
    } else if (IS_JB43) {
        return CipherJB.get();
    } else if (IS_GINGERBREAD) {
        return CipherLegacy.get();
    } else {
        throw new IllegalArgumentException("Not supported yet");
    }
}