Searched refs:alias (Results 51 - 75 of 242) sorted by relevance

12345678910

/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/quicksetup/util/
H A DUIKeyStore.java143 String alias = aChain.getSubjectDN().getName();
145 while (k.containsAlias(alias)) {
146 alias = aChain.getSubjectDN().getName() + "-" + j;
149 k.setCertificateEntry(alias, aChain);
211 String alias = aliases.nextElement();
212 if (adminKeyStore.isCertificateEntry(alias))
214 keyStore.setCertificateEntry(alias,
215 adminKeyStore.getCertificate(alias));
219 keyStore.setEntry(alias, adminKeyStore.getEntry(alias, nul
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/key/
H A DKeyUtil.java105 * Returns the host entity's signing certificate alias.
108 * certificate alias
116 String alias = list.get(0);
117 if (alias != null && alias.length() != 0 && kp != null) {
118 return alias;
136 String alias = (String)list.get(0);
137 if (alias != null && alias.length() != 0 && kp != null) {
138 decryptionKey = kp.getPrivateKey(alias);
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/key/
H A DKeyUtil.java105 * Returns the host entity's signing certificate alias.
108 * certificate alias
116 String alias = list.get(0);
117 if (alias != null && alias.length() != 0 && kp != null) {
118 return alias;
136 String alias = (String)list.get(0);
137 if (alias != null && alias.length() != 0 && kp != null) {
138 decryptionKey = kp.getPrivateKey(alias);
[all...]
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/
H A Dcrypto.js34 exports.encrypt = function (value, cipher, alias) {
37 alias = alias || identityServer.getProperty('openidm.config.crypto.alias', 'true', true);
43 return openidm.encrypt(value, cipher, alias);
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/security/keystore/
H A DAMX509KeyManagerImpl.java55 * exception it will supply user-specified client certificate alias when
172 * user-specified client certificate alias.
173 * @param alias certificate alias
175 public void setAlias(String alias) argument
177 certAlias = alias;
181 * Choose an alias to authenticate the client side of a secure socket given
187 * @return the alias name for the desired key
199 * Choose an alias to authenticate the server side of a secure socket
204 * @return the alias nam
246 getCertificateChain(String alias) argument
270 getPrivateKey(String alias) argument
[all...]
/forgerock/openidm-v4/openidm-security/src/main/java/org/forgerock/openidm/security/impl/
H A DKeystoreResourceProvider.java83 String alias = request.getContent().get("alias").asString();
86 if (alias == null) {
96 if (store.getStore().containsAlias(alias)) {
97 return new ConflictException("The resource with ID '" + alias
101 logger.info("Generating a new self-signed certificate with the alias {}", alias);
113 logger.debug("Adding certificate entry under the alias {}", alias);
114 store.getStore().setEntry(alias, ne
[all...]
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/security/keystore/
H A DAMX509KeyManagerImpl.java55 * exception it will supply user-specified client certificate alias when
172 * user-specified client certificate alias.
173 * @param alias certificate alias
175 public void setAlias(String alias) argument
177 certAlias = alias;
181 * Choose an alias to authenticate the client side of a secure socket given
187 * @return the alias name for the desired key
199 * Choose an alias to authenticate the server side of a secure socket
204 * @return the alias nam
246 getCertificateChain(String alias) argument
270 getPrivateKey(String alias) argument
[all...]
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/security/keystore/v_14/
H A DAMX509KeyManagerImpl.java53 * exception it will supply user-specified client certificate alias when
117 * user-specified client certificate alias.
118 * @param alias certificate alias
120 public void setAlias(String alias) { argument
121 certAlias = alias;
125 * Choose an alias to authenticate the client side of a secure socket given
131 * @return the alias name for the desired key
149 * Choose an alias to authenticate the server side of a secure socket
154 * @return the alias nam
194 getCertificateChain(String alias) argument
203 getPrivateKey(String alias) argument
[all...]
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/security/keystore/v_14/
H A DAMX509KeyManagerImpl.java53 * exception it will supply user-specified client certificate alias when
117 * user-specified client certificate alias.
118 * @param alias certificate alias
120 public void setAlias(String alias) { argument
121 certAlias = alias;
125 * Choose an alias to authenticate the client side of a secure socket given
131 * @return the alias name for the desired key
149 * Choose an alias to authenticate the server side of a secure socket
154 * @return the alias nam
194 getCertificateChain(String alias) argument
203 getPrivateKey(String alias) argument
[all...]
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/oauth2/core/
H A DOAuth2ProviderSettingsTest.java40 String alias = "myKeyAlias";
49 final Map<String, Object> jwk = RealmOAuth2ProviderSettings.createECJWK(alias, key, KeyUse.SIG);
53 .containsEntry("kid", Hash.hash(alias + ":" + curve.getStandardName() + ":" + x.toString() + ":" + y
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/key/
H A DKeyUtil.java112 * Returns the host entity's signing certificate alias.
115 * certificate alias
122 String alias = (String)list.get(0);
123 if ((alias != null) && (alias.length() != 0) && (kp != null)) {
124 return alias;
140 String alias = null;
143 alias = (String)list.get(0);
144 if ((alias != null) && (alias
[all...]
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/crypto/
H A DCryptoService.java37 * @param alias
38 * the key alias in the key store with which to encrypt the
44 JsonEncryptor getEncryptor(String cipher, String alias) throws JsonCryptoException; argument
60 * @param alias
61 * the key alias in the key store with which to encrypt the
65 * if and invalid cipher and/or alias is provided.
69 JsonValue encrypt(JsonValue value, String cipher, String alias) throws JsonCryptoException, argument
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DAMKeyProvider.java217 String alias = (String) e.nextElement();
219 if (ks.entryInstanceOf(alias, KeyStore.SecretKeyEntry.class)) {
222 Certificate cert = getCertificate(alias);
223 PublicKey pk = getPublicKey(alias);
256 * @param certAlias Certificate alias name
268 logger.error("Unable to get cert alias:" + certAlias, e);
275 * @param keyAlias Key alias name
286 logger.error("Unable to retrieve certificate with alias '" + keyAlias + "' from keystore "
299 * @param certAlias Certificate alias name
324 logger.error("Unable to get the secret key for certificate alias "
530 containsKey(String alias) argument
550 setSecretKeyEntry(String alias, String password) argument
577 getSecret(String alias) argument
[all...]
/forgerock/openidm-v4/openidm-crypto/src/main/java/org/forgerock/openidm/crypto/impl/
H A DCryptoServiceImpl.java133 IdentityServer.getInstance().getProperty("openidm.config.crypto.alias"),
134 IdentityServer.getInstance().getProperty("openidm.config.crypto.selfservice.sharedkey.alias")
150 for (String alias : configAliases) {
151 Key key = ks.getKey(alias, clearPassword);
154 logger.debug("Initializing secret key entry {} in the keystore", alias);
155 generateDefaultKey(ks, alias, location, clearPassword);
193 * @param alias the alias of the secret key
199 private void generateDefaultKey(KeyStore ks, String alias, String location, char[] password) argument
202 ks.setEntry(alias, ne
223 getEncryptor(String cipher, String alias) argument
239 encrypt(JsonValue value, String cipher, String alias) argument
[all...]
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/resources/
H A DServerConfigService.properties73 #cert alias
74 saml-cannot-validate-ks-pwd=Cannot validate the key password. Invalid certificate alias : {0}
75 saml-cert-alias-mismatch=No certificate with given alias : {0}
76 saml-validate-cert-alias=Validating SAML cert alias.
84 saml-cannot-validate-sig=Cannot validate signature. Invalid certificate alias.
119 svr-org-alias-entry=Server entry in Organization Alias
120 svr-entry-not-in-org-alias=Server Instance does not have entry in Organization Alias : {0}
131 site-org-alias
[all...]
/forgerock/opendj2/src/ads/org/opends/admin/ads/util/
H A DApplicationKeyManager.java173 * Choose an alias to authenticate the client side of a secure
186 * return the most generic alias to use.
187 * @return the alias name for the desired key, or null if there are
204 * Choose an alias to authenticate the client side of a secure
217 * return the most generic alias to use.
218 * @return the alias name for the desired key, or null if there are
235 * Returns the certificate chain associated with the given alias.
237 * @param alias
238 * the alias name
241 * last), or null if the alias ca
243 getCertificateChain(String alias) argument
287 getPrivateKey(String alias) argument
[all...]
/forgerock/opendj-b2.6/src/ads/org/opends/admin/ads/util/
H A DApplicationKeyManager.java174 * Choose an alias to authenticate the client side of a secure
187 * return the most generic alias to use.
188 * @return the alias name for the desired key, or null if there are
205 * Choose an alias to authenticate the client side of a secure
218 * return the most generic alias to use.
219 * @return the alias name for the desired key, or null if there are
236 * Returns the certificate chain associated with the given alias.
238 * @param alias
239 * the alias name
242 * last), or null if the alias ca
244 getCertificateChain(String alias) argument
288 getPrivateKey(String alias) argument
[all...]
/forgerock/opendj2.6.2/src/ads/org/opends/admin/ads/util/
H A DApplicationKeyManager.java174 * Choose an alias to authenticate the client side of a secure
187 * return the most generic alias to use.
188 * @return the alias name for the desired key, or null if there are
205 * Choose an alias to authenticate the client side of a secure
218 * return the most generic alias to use.
219 * @return the alias name for the desired key, or null if there are
236 * Returns the certificate chain associated with the given alias.
238 * @param alias
239 * the alias name
242 * last), or null if the alias ca
244 getCertificateChain(String alias) argument
288 getPrivateKey(String alias) argument
[all...]
/forgerock/opendj2-hg/src/ads/org/opends/admin/ads/util/
H A DApplicationKeyManager.java173 * Choose an alias to authenticate the client side of a secure
186 * return the most generic alias to use.
187 * @return the alias name for the desired key, or null if there are
204 * Choose an alias to authenticate the client side of a secure
217 * return the most generic alias to use.
218 * @return the alias name for the desired key, or null if there are
235 * Returns the certificate chain associated with the given alias.
237 * @param alias
238 * the alias name
241 * last), or null if the alias ca
243 getCertificateChain(String alias) argument
287 getPrivateKey(String alias) argument
[all...]
/forgerock/opendj2-jel-hg/src/ads/org/opends/admin/ads/util/
H A DApplicationKeyManager.java174 * Choose an alias to authenticate the client side of a secure
187 * return the most generic alias to use.
188 * @return the alias name for the desired key, or null if there are
205 * Choose an alias to authenticate the client side of a secure
218 * return the most generic alias to use.
219 * @return the alias name for the desired key, or null if there are
236 * Returns the certificate chain associated with the given alias.
238 * @param alias
239 * the alias name
242 * last), or null if the alias ca
244 getCertificateChain(String alias) argument
288 getPrivateKey(String alias) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/
H A DApplicationKeyManager.java170 * Choose an alias to authenticate the client side of a secure
183 * return the most generic alias to use.
184 * @return the alias name for the desired key, or null if there are
198 * Choose an alias to authenticate the client side of a secure
211 * return the most generic alias to use.
212 * @return the alias name for the desired key, or null if there are
226 * Returns the certificate chain associated with the given alias.
228 * @param alias
229 * the alias name
232 * last), or null if the alias ca
234 getCertificateChain(String alias) argument
272 getPrivateKey(String alias) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/api/
H A DKeyManagerProvider.java81 * Verifies that an alias is defined in the scope of this Key Manager.
83 * @param alias
84 * The alias to check.
85 * @return true if the alias exists, false otherwise
87 public boolean containsKeyWithAlias(String alias) argument
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/common/
H A DSAMLCertUtils.java87 String alias = (String) e.nextElement ();
89 (X509Certificate)ks.getCertificate(alias);
91 alias,
95 certdbCerts.put(alias,certEntry);
/forgerock/openidm-v4/openidm-servlet-registrator/src/main/java/org/forgerock/openidm/servletregistration/
H A DServletRegistration.java79 * @param alias name in the URI namespace at which the servlet is registered
86 void registerServlet(String alias, Servlet servlet, Dictionary initparams) throws ServletException, NamespaceException; argument
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/saml/xmlsig/
H A DKeyProvider.java63 * @param certAlias Certificate alias name
75 * @param keyAlias Key alias name
85 * @param certAlias Certificate alias name
92 * Retrieves the secret key for the given certificate alias.
104 * @param certAlias Certificate alias name
112 * Get the alias name of the first keystore entry whose certificate matches
115 * @return the (alias) name of the first entry with matching certificate,
150 * Whether the key alias exists in the keystore.
152 * @param alias
153 * the key alias
157 containsKey(String alias) argument
[all...]

Completed in 189 milliseconds

12345678910