View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.api.security.provider;
8   
9   /**
10   * IBM JDK-specific security provider information.
11   */
12  public class IBMSecurityProviderInfo implements SecurityProviderInfo
13  {
14  
15      private static final String KEY_MANAGER_ALGORITHM = "IbmX509";
16      private static final String PROTOCOL_HANDLER = "com.ibm.net.ssl.internal.www.protocol";
17      private static final String PROVIDER_CLASS = "com.ibm.jsse.IBMJSSEProvider";
18      private static final String DEFAULT_SSL_TYPE = "SSL_TLS";
19  
20      public String getKeyManagerAlgorithm()
21      {
22          return KEY_MANAGER_ALGORITHM;
23      }
24  
25      public String getProtocolHandler()
26      {
27          return PROTOCOL_HANDLER;
28      }
29  
30      public String getProviderClass()
31      {
32          return PROVIDER_CLASS;
33      }
34  
35      public String getDefaultSslType()
36      {
37          return DEFAULT_SSL_TYPE;
38      }
39  
40  }