pub enum StoreType {
JKS,
JCEKS,
PKCS12,
PKCS12S2,
JCERACFKS,
}
Variantsยง
JKS
JCEKS
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.
PKCS12
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.
PKCS12S2
This is a second version of PKCS12
type keystore
. It can be read by the keytool
program in an Oracle JVM
.
JCERACFKS
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ยง
Auto Trait Implementationsยง
impl Freeze for StoreType
impl RefUnwindSafe for StoreType
impl Send for StoreType
impl Sync for StoreType
impl Unpin for StoreType
impl UnwindSafe for StoreType
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more