public abstract class SecurityProvider extends Object
Constructor and Description |
---|
SecurityProvider() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getRegistrationId()
Unique id required for registration
|
SSLContext |
getSSLContext()
Retrieves the SSL context loaded with trusted certs.
|
public abstract String getRegistrationId() throws SecurityProviderException
SecurityProviderException
- If registration id with the underlying implementation could not be retrievedpublic SSLContext getSSLContext() throws SecurityProviderException
SecurityProviderX509
must override this function so that it returns an SSLContext instance with the required private key and public certificates
loaded into it as well as the default trusted certificates saved in your device's trusted root certification authorities certificate store.SecurityProviderException
- If ssl context could not be generated for any of the reason.Copyright © 2022. All rights reserved.