Enum android_tools::java_tools::KeyAlgorithm
source ¡ [−]pub enum KeyAlgorithm {
RSA,
DSA,
EC,
DES,
DESede,
}
Variants
RSA
DSA
This keystore implementation employs a much stronger protection of private keys (using password-based encryption with Triple DES) than JKS. You can upgrade your keystore of type âJKSâ to type âJCEKSâ by changing the password of a private-key entry in your keystore.
EC
There is a difference between PKCS12 type keystore created on the keytool provided in the IBM JVM and the keytool provided in an Oracle JVM. The keytool in an IBM JVM uses a PKCS12 keystore to store both key entries and certificate entries.The keytool in an Oracle JVM uses a PKCS12 keystore to store key entries. The keytool program in IBMâs JVM can read the keystore created by the keytool program provided by an Oracle JVM, but not the other way around.
DES
This is a second version of PKCS12
type keystore
. It can be read by the keytool
program in an Oracle JVM
.
DESede
This is a RACFÂŽ keyring keystore. This type is available only on z/OSÂŽ systems
with RACF installed. When using JCERACFKS keystore, you must always specify the
-keystore
option. This is no default value.
Trait Implementations
sourceimpl Clone for KeyAlgorithm
impl Clone for KeyAlgorithm
sourcefn clone(&self) -> KeyAlgorithm
fn clone(&self) -> KeyAlgorithm
Returns a copy of the value. Read more
1.0.0 ¡ sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for KeyAlgorithm
impl Send for KeyAlgorithm
impl Sync for KeyAlgorithm
impl Unpin for KeyAlgorithm
impl UnwindSafe for KeyAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable ¡ sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more