Searched defs:alias (Results 76 - 100 of 134) sorted by relevance

123456

/forgerock/opendj2-jel-hg/src/server/org/opends/server/util/
H A DPlatform.java150 * Delete the specified alias from the specified keystore.
153 * The keystore to delete the alias from.
156 * @param alias
157 * The alias to use in the request generation.
161 * If an error occurred deleting the alias.
163 public final void deleteAlias(KeyStore ks, String ksPath, String alias, argument
173 ks.deleteEntry(alias);
180 Message msg = ERR_CERTMGR_DELETE_ALIAS.get(alias, e.getMessage());
199 * @param alias
200 * The alias t
208 addCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String certPath) argument
273 generateSelfSignedCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String dn, int validity) argument
338 trustedCert(String alias, CertificateFactory cf, KeyStore ks, InputStream in) argument
479 addCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String certPath) argument
501 deleteAlias(KeyStore ks, String ksPath, String alias, char[] pwd) argument
532 generateSelfSignedCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String dn, int validity) argument
[all...]
H A DSetupUtils.java593 * @param alias Certificate alias to export.
604 CertificateManager certManager, String alias, String path)
607 Certificate certificate = certManager.getCertificate(alias);
603 exportCertificate( CertificateManager certManager, String alias, String path) argument
/forgerock/opendj2-hg/src/server/org/opends/server/util/
H A DPlatform.java159 * Delete the specified alias from the specified keystore.
162 * The keystore to delete the alias from.
165 * @param alias
166 * The alias to use in the request generation.
170 * If an error occurred deleting the alias.
172 public final void deleteAlias(KeyStore ks, String ksPath, String alias, argument
182 ks.deleteEntry(alias);
189 Message msg = ERR_CERTMGR_DELETE_ALIAS.get(alias, e.getMessage());
208 * @param alias
209 * The alias t
217 addCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String certPath) argument
282 generateSelfSignedCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String dn, int validity) argument
347 trustedCert(String alias, CertificateFactory cf, KeyStore ks, InputStream in) argument
488 addCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String certPath) argument
510 deleteAlias(KeyStore ks, String ksPath, String alias, char[] pwd) argument
541 generateSelfSignedCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String dn, int validity) argument
[all...]
H A DSetupUtils.java564 * @param alias Certificate alias to export.
575 CertificateManager certManager, String alias, String path)
578 Certificate certificate = certManager.getCertificate(alias);
574 exportCertificate( CertificateManager certManager, String alias, String path) argument
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/
H A DRestRouterIT.java416 private void mockDnsAlias(String alias, String realm) throws Exception { argument
417 mockRealmAlias(alias, realm);
425 private void mockRealmAlias(String alias, String realm) throws Exception { argument
426 given(coreWrapper.getOrganization(any(SSOToken.class), eq(alias))).willReturn(realm);
H A DRealmContextFilterTest.java511 private void mockDnsAlias(String alias, String realm) throws Exception { argument
512 mockRealmAlias(alias, realm);
516 private void mockInvalidDnsAlias(String alias) throws Exception { argument
517 mockInvalidRealmAlias(alias);
521 private void mockRealmAlias(String alias, String realm) throws Exception { argument
522 given(coreWrapper.getOrganization(any(SSOToken.class), eq(alias))).willReturn(realm);
527 private void mockInvalidRealmAlias(String alias) throws Exception { argument
528 doThrow(IdRepoException.class).when(coreWrapper).getOrganization(any(SSOToken.class), eq(alias));
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/
H A DCreateMetaDataTemplate.java415 "create-meta-template-exception-affi-null-with-cert-alias"),
423 "create-meta-template-exception-idp-null-with-cert-alias"),
431 "create-meta-template-exception-sp-null-with-cert-alias"),
439 "create-meta-template-exception-attra-null-with-cert-alias"),
447 "create-meta-template-exception-attrq-null-with-cert-alias"),
455 "create-meta-template-exception-authna-null-with-cert-alias"),
463 "create-meta-template-exception-pdp-null-with-cert-alias"),
471 "create-meta-template-exception-pep-null-with-cert-alias"),
592 private static String buildMetaAliasInURI(String alias) { argument
593 return "/" + SAML2MetaManager.NAME_META_ALIAS_IN_URI + alias;
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/
H A DPlatform.java140 * Get a KeyType based on the alias name.
142 * @param alias
143 * certificate alias
144 * @return KeyTpe deduced from the alias.
146 public static KeyType getTypeOrDefault(String alias) argument
150 return KeyType.valueOf(alias.substring(alias.lastIndexOf('-') + 1).toUpperCase());
262 private final void deleteAlias(KeyStore ks, String ksPath, String alias, argument
272 ks.deleteEntry(alias);
280 throw new KeyStoreException(ERR_CERTMGR_DELETE_ALIAS.get(alias,
286 addCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String certPath) argument
328 generateSelfSignedCertificate(KeyStore ks, String ksType, String ksPath, KeyType keyType, String alias, char[] pwd, String dn, int validity) argument
378 trustedCert(String alias, CertificateFactory cf, KeyStore ks, InputStream in) argument
500 addCertificate(KeyStore ks, String ksType, String ksPath, String alias, char[] pwd, String certPath) argument
522 deleteAlias(KeyStore ks, String ksPath, String alias, char[] pwd) argument
555 generateSelfSignedCertificate(KeyStore ks, String ksType, String ksPath, KeyType keyType, String alias, char[] pwd, String dn, int validity) argument
[all...]
H A DSetupUtils.java387 * Export a certificate in a file. If the certificate alias to export is null,
392 * @param alias
393 * Certificate alias to export. If {@code null} the first certificate
405 public static void exportCertificate(CertificateManager certManager, String alias, String path) argument
409 certManager.getCertificate(alias != null ? alias : certManager.getCertificateAliases()[0]);
/forgerock/openidm-v4/openidm-repo-jdbc/src/main/java/org/forgerock/openidm/repo/jdbc/impl/
H A DSQLBuilder.java74 * Renders a table with an option alias.
78 final String alias; field in class:SQLBuilder.Table
80 Table(String table, String alias) { argument
82 this.alias = alias;
86 return table + (alias != null ? " " + alias : "");
118 * Construct the first pass of a join with the type, table, and alias.
123 * @param alias the table alias
125 Join(SQLBuilder builder, JoinType type, String table, String alias) argument
221 from(String table, String alias) argument
243 leftJoin(String table, String alias) argument
264 rightJoin(String table, String alias) argument
285 join(String table, String alias) argument
297 join(JoinType type, String table, String alias) argument
[all...]
/forgerock/openidm-v4/openidm-config/src/main/java/org/forgerock/openidm/config/persistence/
H A DConfigBootstrapHelper.java301 * @param alias the config factory pid alias
306 public static String getId(String alias, String pid, String factoryPid) { argument
309 // If there is an alias for factory config is available, make a nicer ID then the internal PID
310 return unqualifiedFactoryPid != null && alias != null
311 ? unqualifiedFactoryPid + "/" + alias
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/
H A DRestRouterIT.java428 private void mockDnsAlias(String alias, String realm) throws Exception { argument
429 mockRealmAlias(alias, realm);
437 private void mockRealmAlias(String alias, String realm) throws Exception { argument
438 given(coreWrapper.getOrganization(any(SSOToken.class), eq(alias))).willReturn(realm);
H A DRealmContextFilterTest.java532 private void mockDnsAlias(String alias, String realm) throws Exception { argument
533 mockRealmAlias(alias, realm);
537 private void mockInvalidDnsAlias(String alias) throws Exception { argument
538 mockInvalidRealmAlias(alias);
542 private void mockRealmAlias(String alias, String realm) throws Exception { argument
543 given(coreWrapper.getOrganization(any(SSOToken.class), eq(alias))).willReturn(realm);
548 private void mockInvalidRealmAlias(String alias) throws Exception { argument
549 doThrow(IdRepoException.class).when(coreWrapper).getOrganization(any(SSOToken.class), eq(alias));
/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/openam/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/federation/cli/
H A DCreateMetaDataTemplate.java415 "create-meta-template-exception-affi-null-with-cert-alias"),
423 "create-meta-template-exception-idp-null-with-cert-alias"),
431 "create-meta-template-exception-sp-null-with-cert-alias"),
439 "create-meta-template-exception-attra-null-with-cert-alias"),
447 "create-meta-template-exception-attrq-null-with-cert-alias"),
455 "create-meta-template-exception-authna-null-with-cert-alias"),
463 "create-meta-template-exception-pdp-null-with-cert-alias"),
471 "create-meta-template-exception-pep-null-with-cert-alias"),
592 private static String buildMetaAliasInURI(String alias) { argument
593 return "/" + SAML2MetaManager.NAME_META_ALIAS_IN_URI + alias;
[all...]
/forgerock/opendj2/src/server/org/opends/server/util/
H A DSetupUtils.java564 * @param alias Certificate alias to export.
575 CertificateManager certManager, String alias, String path)
578 Certificate certificate = certManager.getCertificate(alias);
574 exportCertificate( CertificateManager certManager, String alias, String path) argument
/forgerock/openidm-v4/openidm-security/src/main/java/org/forgerock/openidm/security/impl/
H A DSecurityResourceProvider.java143 this.cryptoAlias = IdentityServer.getInstance().getProperty("openidm.config.crypto.alias");
215 * @param alias the certificate alias
220 protected JsonValue returnCertificate(String alias, Certificate cert) throws Exception { argument
222 content.put(ResourceResponse.FIELD_CONTENT_ID, alias);
245 * @param alias the certificate alias
250 protected JsonValue returnCertificateRequest(String alias, PKCS10CertificationRequest csr) throws Exception { argument
252 content.put(ResourceResponse.FIELD_CONTENT_ID, alias);
261 * @param alias th
266 returnKey(String alias, Key key) argument
436 generateCSR(String alias, String algorithm, String signatureAlgorithm, int keySize, JsonValue params) argument
478 storeKeyPair(String alias, KeyPair keyPair) argument
530 getKeyPair(String alias) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/backends/
H A DTrustStoreBackend.java477 * DN must contain an RDN component that specifies the alias of the
478 * certificate, and that certificate alias must exist in the key store.
484 * @throws DirectoryException If the specified alias does not exist, or if
485 * the DN does not specify any alias.
490 // Make sure that the DN specifies a certificate alias.
684 for (String alias : aliases)
687 alias);
1312 * Returns the key associated with the given alias, using the trust
1315 * @param alias The alias nam
1322 getKey(String alias) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/
H A DTrustStoreBackend.java537 * DN must contain an RDN component that specifies the alias of the
538 * certificate, and that certificate alias must exist in the key store.
544 * @throws DirectoryException If the specified alias does not exist, or if
545 * the DN does not specify any alias.
550 // Make sure that the DN specifies a certificate alias.
767 for (String alias : aliases)
770 alias);
1506 * Returns the key associated with the given alias, using the trust
1509 * @param alias The alias nam
1516 getKey(String alias) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/
H A DTrustStoreBackend.java537 * DN must contain an RDN component that specifies the alias of the
538 * certificate, and that certificate alias must exist in the key store.
544 * @throws DirectoryException If the specified alias does not exist, or if
545 * the DN does not specify any alias.
550 // Make sure that the DN specifies a certificate alias.
767 for (String alias : aliases)
770 alias);
1506 * Returns the key associated with the given alias, using the trust
1509 * @param alias The alias nam
1516 getKey(String alias) argument
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/backends/
H A DTrustStoreBackend.java477 * DN must contain an RDN component that specifies the alias of the
478 * certificate, and that certificate alias must exist in the key store.
484 * @throws DirectoryException If the specified alias does not exist, or if
485 * the DN does not specify any alias.
490 // Make sure that the DN specifies a certificate alias.
684 for (String alias : aliases)
687 alias);
1312 * Returns the key associated with the given alias, using the trust
1315 * @param alias The alias nam
1322 getKey(String alias) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/backends/
H A DTrustStoreBackend.java537 * DN must contain an RDN component that specifies the alias of the
538 * certificate, and that certificate alias must exist in the key store.
544 * @throws DirectoryException If the specified alias does not exist, or if
545 * the DN does not specify any alias.
550 // Make sure that the DN specifies a certificate alias.
767 for (String alias : aliases)
770 alias);
1506 * Returns the key associated with the given alias, using the trust
1509 * @param alias The alias nam
1516 getKey(String alias) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/
H A DCustomAttributePanel.java889 for (String alias : someAliases)
891 if (alias.trim().length() == 0)
896 else if (notPreviouslyDefined(oldAliases, alias))
898 LocalizableMessage elementType = NewAttributePanel.getSchemaElementType(alias, schema);
984 private boolean notPreviouslyDefined(Collection<String> oldAliases, String alias) argument
988 if (oldAlias.equalsIgnoreCase(alias))
1042 for (String alias : a)
1044 al.add(alias.trim());
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/
H A DTrustStoreBackend.java423 * DN must contain an RDN component that specifies the alias of the
424 * certificate, and that certificate alias must exist in the key store.
430 * @throws DirectoryException If the specified alias does not exist, or if
431 * the DN does not specify any alias.
436 // Make sure that the DN specifies a certificate alias.
604 for (String alias : aliases)
606 DN certDN = makeChildDN(this.baseDN, certAliasType, alias);
1127 * Returns the key associated with the given alias, using the trust
1130 * @param alias The alias nam
1137 getKey(String alias) argument
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/sae/api/
H A DSecureAttrs.java220 * SAE Config : Private key alias for asymmetric signing. Alias
343 * @param secret Shared secret (symmetric) Private key alias (asymmetric)
359 * @param secret Shared secret (symmetric) Private key alias (asymmetric) * @param encSecret The encryption secret (symmetric) or Public
360 * Key alias (asymmetric)
442 * Key alias (asymmetric)
539 * Key alias (asymmetric)
599 private X509Certificate getPublicKey(String alias) argument
601 return certs.getPublicKey(alias);
1028 public PrivateKey getPrivateKey(String alias); argument
1029 public X509Certificate getPublicKey(String alias); argument
1071 getPrivateKey(String alias) argument
1082 getPublicKey(String alias) argument
[all...]

Completed in 69 milliseconds

123456