You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The KeyStore class provides a getInstance(...) variant that tries to detect the store type and loads the store with a matching provider:
KeyStore.getInstance(storeFile, storePassword);
This way, we could use stores of different types interchangeably without having to configure the store type.
This doesn't currently work for PEM key stores. What do you think about adding this feature? Looks like you would have to override KeyStoreSpi.engineProbe(InputStream) to support this. Thanks!
The text was updated successfully, but these errors were encountered:
The
KeyStore
class provides agetInstance(...)
variant that tries to detect the store type and loads the store with a matching provider:This way, we could use stores of different types interchangeably without having to configure the store type.
This doesn't currently work for PEM key stores. What do you think about adding this feature? Looks like you would have to override
KeyStoreSpi.engineProbe(InputStream)
to support this. Thanks!The text was updated successfully, but these errors were encountered: