|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KeyStoreService
A KeyStoreService is a PKI based keystore service interface
| Nested Class Summary | |
|---|---|
static class |
KeyStoreService.KEYSTORE_ATTRIBUTE |
| Nested classes/interfaces inherited from interface oracle.security.jps.service.JpsPersistable |
|---|
JpsPersistable.Mode |
| Method Summary | |
|---|---|
void |
createKeyStore(java.lang.String stripeName, java.lang.String keystoreName, java.security.KeyStore.ProtectionParameter protParam, KeyStoreProperties props)This method creates a key store using the given keystore name, within the stripe name. |
void |
deleteKeyStore(java.lang.String stripeName, java.lang.String keystoreName, java.security.KeyStore.ProtectionParameter protParam)This method deletes an existing keystore. |
java.security.KeyStore |
getDomainTrustStore()This method gets a handle to the domain level trust store stored in FKS. |
java.security.KeyStore |
getKeyStore(java.lang.String kssUri, java.security.KeyStore.ProtectionParameter protParam)This method gets a handle to a given keystore stored in KSS. |
java.security.KeyStore |
getKeyStore(java.lang.String stripeName, java.lang.String keystoreName, java.security.KeyStore.ProtectionParameter protParam)This method gets a handle to a given keystore stored in FKS. |
java.lang.Object |
getKeyStoreAttribute(java.lang.String kssUri, KeyStoreService.KEYSTORE_ATTRIBUTE attr)This method returns the specific attribute of a given key store within a stripe |
java.lang.Object |
getKeyStoreAttribute(java.lang.String stripeName, java.lang.String keystoreName, KeyStoreService.KEYSTORE_ATTRIBUTE attr)This method returns the specific attribute of a given key store within a stripe |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()Returns the configured properties for this instance |
java.lang.String[] |
listKeyStores(java.lang.String stripeName)This method lists all the keystores within the given stripe. |
| Methods inherited from interface oracle.security.jps.service.ServiceInstance |
|---|
accept, getName, getServiceProvider |
| Methods inherited from interface oracle.security.jps.service.JpsPersistable |
|---|
persist, refresh |
| Method Detail |
|---|
java.util.Map<java.lang.String,java.lang.String> getProperties()
void createKeyStore(java.lang.String stripeName,
java.lang.String keystoreName,
java.security.KeyStore.ProtectionParameter protParam,
KeyStoreProperties props)
throws KeyStoreServiceException,
java.security.AccessControlException
stripeName - Name of the stripe within which keystore is createdkeystoreName - name of the keystore. Must be unique within this stripeprotParam - Protection parameter for this keystore. Usually a password.props - Additional keystore properties. eg. if permission protected is set to false, the keystore is also protected by password. The HSM property is ignored.KeyStoreServiceExceptionjava.security.AccessControlException
void deleteKeyStore(java.lang.String stripeName,
java.lang.String keystoreName,
java.security.KeyStore.ProtectionParameter protParam)
throws KeyStoreServiceException,
java.security.AccessControlException
stripeName - Name of the stripe within which keystore is deletedkeystoreName - Name of the keystore to be deletedprotParam - Protection parameter for this keystore to be used for verification. Usually a password. This parameter is ignored if the keystore is only permission protectedKeyStoreServiceExceptionjava.security.AccessControlException
java.lang.String[] listKeyStores(java.lang.String stripeName)
throws KeyStoreServiceException,
java.security.AccessControlException
stripeName - name of the stripe whose keystores need to be listed. Use "*" as wildcard to specify all stripesKeyStoreServiceExceptionjava.security.AccessControlException
java.security.KeyStore getDomainTrustStore()
throws KeyStoreServiceException,
java.security.AccessControlException
KeyStoreServiceExceptionjava.security.AccessControlException
java.security.KeyStore getKeyStore(java.lang.String stripeName,
java.lang.String keystoreName,
java.security.KeyStore.ProtectionParameter protParam)
throws KeyStoreServiceException,
java.security.AccessControlException
stripeName - Name of the stripekeystoreName - Name of the keystore to be loadedprotParam - Protection parameter for this keystore (usually a password). This parameter is ignored for keystore that is only permission protectedKeyStoreServiceExceptionjava.security.AccessControlException
java.security.KeyStore getKeyStore(java.lang.String kssUri,
java.security.KeyStore.ProtectionParameter protParam)
throws KeyStoreServiceException,
java.security.AccessControlException
kssUri - KSS URI indicating the stripe and key store to be loaded. The URI format is "kss://<stripe>/<keystore>" kss://system/trust - valid URI kss:/system/trust - invalid URI kss://systemtrust - invalid URIprotParam - Protection parameter for this keystore (usually a password). This parameter is ignored for keystore that is only permission protectedKeyStoreServiceExceptionjava.security.AccessControlException
java.lang.Object getKeyStoreAttribute(java.lang.String stripeName,
java.lang.String keystoreName,
KeyStoreService.KEYSTORE_ATTRIBUTE attr)
throws KeyStoreServiceException,
java.security.AccessControlException
stripeName - Name of the stripekeystoreName - Name of the keystoreattr - Keystore attribute to be returnedKeyStoreServiceExceptionjava.security.AccessControlException
java.lang.Object getKeyStoreAttribute(java.lang.String kssUri,
KeyStoreService.KEYSTORE_ATTRIBUTE attr)
throws KeyStoreServiceException,
java.security.AccessControlException
kssUri - KSS URI indicating the stripe and key store to be loaded. The URI format is "kss://<stripe>/<keystore>" kss://system/trust - valid URI kss:/system/trust - invalid URI kss://systemtrust - invalid URIattr - Keystore attribute to be returnedKeyStoreServiceExceptionjava.security.AccessControlException
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||