Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


oracle.security.jps.tools.utility
Interface JpsUtilKeyStoreIfc


public interface JpsUtilKeyStoreIfc

This interface contains methods required to perform Key Store Service operations when dependency on config is not desired. They need a pre-configured bootstrap credential store with the encryption keys.


Method Summary
 void createDemoCASignedCertificate(java.lang.String stripeName, java.lang.String keystoreName, char[] keystorePassword, java.lang.String DN, java.util.Map<java.lang.String,java.lang.String> keyProps, java.lang.String alias, char[] keyPassword)
          Generats a key pair and wraps it in a demo CA signed certificate
 void createKeyStore(java.lang.String stripeName, java.lang.String keystoreName, char[] keystorePassword, boolean isPermissionProtected)
          Creates a new key store
 void setDependencies(KeyStoreService kss)
          Sets the pre-initialized key store service
 void setDependencies(java.util.Map<java.lang.String,java.lang.String> properties, CredentialStore bootcsf)
          Sets the properties used to initialize file based key store service

 

Method Detail

setDependencies

void setDependencies(java.util.Map<java.lang.String,java.lang.String> properties,
                     CredentialStore bootcsf)
Sets the properties used to initialize file based key store service
Parameters:
properties - properties containing keystore.file.path property
bootcsf - bootstrap cred store containing the OPSS encryption key(s)

setDependencies

void setDependencies(KeyStoreService kss)
Sets the pre-initialized key store service
Parameters:
kss - pre-initialized key store service instance

createKeyStore

void createKeyStore(java.lang.String stripeName,
                    java.lang.String keystoreName,
                    char[] keystorePassword,
                    boolean isPermissionProtected)
                    throws JpsException
Creates a new key store
Parameters:
stripeName - name of the application stripe
keystoreName - name of the key store
keystorePassword - password of the key store, null if permision protected
isPermissionProtected - true if permission protected only, false if password protected
Throws:
JpsException

createDemoCASignedCertificate

void createDemoCASignedCertificate(java.lang.String stripeName,
                                   java.lang.String keystoreName,
                                   char[] keystorePassword,
                                   java.lang.String DN,
                                   java.util.Map<java.lang.String,java.lang.String> keyProps,
                                   java.lang.String alias,
                                   char[] keyPassword)
                                   throws JpsException
Generats a key pair and wraps it in a demo CA signed certificate
Parameters:
stripeName - name of the application stripe
keystoreName - name of the key store
keystorePassword - password of the key store, null if permission protected
DN - distinguished name of the certificate
keyProps - map containing key size of the RSA key (key name "keySize")
alias - alias of the key pair entry
keyPassword - key password (applicable only if password protected key store)
Throws:
JpsException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


Copyright © 2013 Oracle. All rights reserved.