/openjdk7/jdk/src/share/classes/sun/security/jca/ |
H A D | ServiceId.java | 29 * Simple class encapsulating a service type and algorithm for lookup. 38 public final String algorithm; field in class:ServiceId 40 public ServiceId(String type, String algorithm) { argument 42 this.algorithm = algorithm;
|
H A D | GetInstance.java | 64 public static Service getService(String type, String algorithm) argument 67 Service s = list.getService(type, algorithm); 70 (algorithm + " " + type + " not available"); 75 public static Service getService(String type, String algorithm, argument 85 Service s = p.getService(type, algorithm); 87 throw new NoSuchAlgorithmException("no such algorithm: " 88 + algorithm + " for provider " + provider); 93 public static Service getService(String type, String algorithm, argument 98 Service s = provider.getService(type, algorithm); 100 throw new NoSuchAlgorithmException("no such algorithm 112 getServices(String type, String algorithm) argument 152 getInstance(String type, Class clazz, String algorithm) argument 184 getInstance(String type, Class clazz, String algorithm, Object param) argument 203 getInstance(String type, Class clazz, String algorithm, String provider) argument 209 getInstance(String type, Class clazz, String algorithm, Object param, String provider) argument 215 getInstance(String type, Class clazz, String algorithm, Provider provider) argument 221 getInstance(String type, Class clazz, String algorithm, Object param, Provider provider) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | AlgorithmParameterGenerator.java | 33 * parameters to be used with a certain algorithm. Parameter generators 38 * in two different ways: in an algorithm-independent manner, or in an 39 * algorithm-specific manner: 42 * <li>The algorithm-independent approach uses the fact that all parameter 45 * by all algorithm parameters, though it is interpreted differently 47 * the <i>DSA</i> algorithm, "size" corresponds to the size 49 * When using this approach, algorithm-specific parameter generation 54 * using algorithm-specific semantics, which are represented by a set of 55 * algorithm-specific parameter generation values. To generate 100 // The algorithm 101 private String algorithm; field in class:AlgorithmParameterGenerator 110 AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm) argument 156 getInstance(String algorithm) argument 206 getInstance(String algorithm, String provider) argument 250 getInstance(String algorithm, Provider provider) argument [all...] |
H A D | AlgorithmParameters.java | 36 * for a particular algorithm can be obtained by 83 // The algorithm 84 private String algorithm; field in class:AlgorithmParameters 94 * @param algorithm the algorithm 97 Provider provider, String algorithm) 101 this.algorithm = algorithm; 105 * Returns the name of the algorithm associated with this parameter object. 107 * @return the algorithm nam 96 AlgorithmParameters(AlgorithmParametersSpi paramSpi, Provider provider, String algorithm) argument 143 getInstance(String algorithm) argument 193 getInstance(String algorithm, String provider) argument 238 getInstance(String algorithm, Provider provider) argument [all...] |
H A D | AlgorithmConstraints.java | 32 * keys (key sizes), and other algorithm parameters. 43 * certificate in the certification path contains the required algorithm 55 * Determines whether an algorithm is granted permission for the 59 * @param algorithm the algorithm name 60 * @param parameters the algorithm parameters, or null if no additional 63 * @return true if the algorithm is permitted and can be used for all 66 * @throws IllegalArgumentException if primitives or algorithm is null 70 String algorithm, AlgorithmParameters parameters); 90 * Determines whether an algorithm an 69 permits(Set<CryptoPrimitive> primitives, String algorithm, AlgorithmParameters parameters) argument 105 permits(Set<CryptoPrimitive> primitives, String algorithm, Key key, AlgorithmParameters parameters) argument [all...] |
H A D | KeyRep.java | 91 * The Key algorithm 95 private String algorithm; field in class:KeyRep 117 * @param algorithm the algorithm returned from 126 * if algorithm is <code>null</code>, 130 public KeyRep(Type type, String algorithm, argument 133 if (type == null || algorithm == null || 139 this.algorithm = algorithm; 150 * constructed using encoded key bytes and algorithm [all...] |
H A D | SecureRandom.java | 59 * number generator (PRNG), which means they use a deterministic algorithm 111 * The algorithm name of null if unknown. 116 private String algorithm; field in class:SecureRandom 123 * default random number algorithm. 129 * Provider that supports a SecureRandom (RNG) algorithm is returned. 130 * If none of the Providers support a RNG algorithm, 139 * for information about standard RNG algorithm names. 160 * default random number algorithm. 167 * Provider that supports a SecureRandom (RNG) algorithm is returned. 168 * If none of the Providers support a RNG algorithm, 230 SecureRandom(SecureRandomSpi secureRandomSpi, Provider provider, String algorithm) argument 274 getInstance(String algorithm) argument 325 getInstance(String algorithm, String provider) argument 369 getInstance(String algorithm, Provider provider) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/spec/ |
H A D | SecretKeySpec.java | 62 * The name of the algorithm associated with this key. 66 private String algorithm; field in class:SecretKeySpec 72 * secret key of the specified algorithm. For example, if the algorithm is 75 * In order for those checks to be performed, an algorithm-specific 82 * @param algorithm the name of the secret-key algorithm to be associated 87 * for information about standard algorithm names. 88 * @exception IllegalArgumentException if <code>algorithm</code> 91 public SecretKeySpec(byte[] key, String algorithm) { argument 140 SecretKeySpec(byte[] key, int offset, int len, String algorithm) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/ |
H A D | KeyManagerFactory.java | 51 // The name of the key management algorithm. 52 private String algorithm; field in class:KeyManagerFactory 82 * @param algorithm the algorithm 85 Provider provider, String algorithm) { 88 this.algorithm = algorithm; 92 * Returns the algorithm name of this <code>KeyManagerFactory</code> object. 98 * @return the algorithm name of this <code>KeyManagerFactory</code> object. 101 return this.algorithm; 84 KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm) argument 122 getInstance(String algorithm) argument 151 getInstance(String algorithm, String provider) argument 176 getInstance(String algorithm, Provider provider) argument [all...] |
H A D | TrustManagerFactory.java | 51 // The name of the trust management algorithm. 52 private String algorithm; field in class:TrustManagerFactory 82 * @param algorithm the algorithm 85 Provider provider, String algorithm) { 88 this.algorithm = algorithm; 92 * Returns the algorithm name of this <code>TrustManagerFactory</code> 99 * @return the algorithm name of this <code>TrustManagerFactory</code> 103 return this.algorithm; 84 TrustManagerFactory(TrustManagerFactorySpi factorySpi, Provider provider, String algorithm) argument 124 getInstance(String algorithm) argument 153 getInstance(String algorithm, String provider) argument 178 getInstance(String algorithm, Provider provider) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/net/ssl/ |
H A D | KeyManagerFactory.java | 49 // The name of the key management algorithm. 50 private String algorithm; field in class:KeyManagerFactory 53 * Obtains the default KeyManagerFactory algorithm name. 55 * <p>The default algorithm can be changed at runtime by setting 56 * the value of the "ssl.KeyManagerFactory.algorithm" security 60 * to the desired algorithm name. 64 * @return the default algorithm name as specified in the 73 "ssl.KeyManagerFactory.algorithm"); 87 * @param algorithm the algorithm 89 KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm) argument 137 getInstance(String algorithm) argument 180 getInstance(String algorithm, String provider) argument 218 getInstance(String algorithm, Provider provider) argument [all...] |
H A D | TrustManagerFactory.java | 49 // The name of the trust management algorithm. 50 private String algorithm; field in class:TrustManagerFactory 53 * Obtains the default TrustManagerFactory algorithm name. 56 * the value of the "ssl.TrustManagerFactory.algorithm" security 59 * to the desired algorithm name. 61 * @return the default algorithm name as specified in the 70 "ssl.TrustManagerFactory.algorithm"); 84 * @param algorithm the algorithm 87 Provider provider, String algorithm) { 86 TrustManagerFactory(TrustManagerFactorySpi factorySpi, Provider provider, String algorithm) argument 136 getInstance(String algorithm) argument 179 getInstance(String algorithm, String provider) argument 217 getInstance(String algorithm, Provider provider) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/cert/ |
H A D | CertPathBuilder.java | 46 * algorithm name of the <code>CertPathBuilder</code> desired and optionally 51 * passing it an algorithm-specific set of parameters. If successful, the 57 * following standard <code>CertPathBuilder</code> algorithm: 61 * This algorithm is described in the <a href= 102 private String algorithm; field in class:CertPathBuilder 105 * Creates a <code>CertPathBuilder</code> object of the given algorithm, 110 * @param algorithm the algorithm name 113 String algorithm) 117 this.algorithm 112 CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, String algorithm) argument 148 getInstance(String algorithm) argument 191 getInstance(String algorithm, String provider) argument 228 getInstance(String algorithm, Provider provider) argument [all...] |
H A D | CertPathValidator.java | 47 * algorithm name of the <code>CertPathValidator</code> desired and 53 * and an algorithm-specific set of parameters. If successful, the result is 58 * following standard <code>CertPathValidator</code> algorithm: 62 * This algorithm is described in the <a href= 102 private String algorithm; field in class:CertPathValidator 105 * Creates a <code>CertPathValidator</code> object of the given algorithm, 110 * @param algorithm the algorithm name 113 Provider provider, String algorithm) 117 this.algorithm 112 CertPathValidator(CertPathValidatorSpi validatorSpi, Provider provider, String algorithm) argument 148 getInstance(String algorithm) argument 191 getInstance(String algorithm, String provider) argument 229 getInstance(String algorithm, Provider provider) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/algorithm/ |
H A D | IEEE754FloatingPointEncodingAlgorithm.java | 28 package com.sun.xml.internal.fastinfoset.algorithm;
|
H A D | IntegerEncodingAlgorithm.java | 28 package com.sun.xml.internal.fastinfoset.algorithm;
|
H A D | BuiltInEncodingAlgorithmState.java | 28 package com.sun.xml.internal.fastinfoset.algorithm;
|
/openjdk7/jdk/test/java/security/KeyRep/ |
H A D | SerialOld.java | 58 private static void deserializeTigerKey(String algorithm) throws Exception { argument 62 algorithm + ".1.5.key")); 66 private static void deserializeKey(String algorithm) throws Exception { argument 70 algorithm + ".pre.1.5.key"));
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/fastinfoset/sax/ |
H A D | EncodingAlgorithmContentHandler.java | 33 * SAX2 extention handler to receive notification of encoding algorithm data. 40 * SAX parser to receive notification of encoding algorithm data specified 63 * Receive notification of encoding algorithm data as an array 70 * when processing encoding algorithm data.<p> 73 * encoding algorithm data. Parsers MUST return all contiguous 79 * encoding algorithm to the chunk.</p> 81 * @param URI the URI of the encoding algorithm 82 * @param algorithm the encoding algorithm index 90 public void octets(String URI, int algorithm, byt argument 106 object(String URI, int algorithm, Object o) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | SecretKeyFactory.java | 88 // The algorithm associated with this factory 89 private final String algorithm; field in class:SecretKeyFactory 106 * @param algorithm the secret-key algorithm 109 Provider provider, String algorithm) { 112 this.algorithm = algorithm; 115 private SecretKeyFactory(String algorithm) throws NoSuchAlgorithmException { argument 116 this.algorithm = algorithm; 108 SecretKeyFactory(SecretKeyFactorySpi keyFacSpi, Provider provider, String algorithm) argument 157 getInstance(String algorithm) argument 200 getInstance(String algorithm, String provider) argument 241 getInstance(String algorithm, Provider provider) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | SignatureAndHashAlgorithm.java | 44 * Signature and hash algorithm. 47 * indicate to the server which signature/hash algorithm pairs may be 73 // supported pairs of signature and hash algorithm 77 // the hash algorithm 80 // the signature algorithm 86 // the standard algorithm name, for example "SHA512withECDSA" 87 private String algorithm; field in class:SignatureAndHashAlgorithm 91 // If the algorithm is unsupported, its priority should be bigger 95 // constructor for supported algorithm 97 SignatureAlgorithm signature, String algorithm, in 96 SignatureAndHashAlgorithm(HashAlgorithm hash, SignatureAlgorithm signature, String algorithm, int priority) argument 106 SignatureAndHashAlgorithm(String algorithm, int id, int sequence) argument 213 getHashAlgorithmName(SignatureAndHashAlgorithm algorithm) argument 217 supports(HashAlgorithm hash, SignatureAlgorithm signature, String algorithm, int priority) argument [all...] |
H A D | JsseJce.java | 218 * Return an JCE cipher implementation for the specified algorithm. 234 * Return an JCA signature implementation for the specified algorithm. 235 * The algorithm string should be one of the constants defined 238 static Signature getSignature(String algorithm) argument 241 return Signature.getInstance(algorithm); 244 if (algorithm == SIGNATURE_SSLRSA) { 246 // special algorithm. We allow a fallback in this case because 249 if (cryptoProvider.getService("Signature", algorithm) == null) { 254 return Signature.getInstance(algorithm, "SunJSSE"); 260 return Signature.getInstance(algorithm, cryptoProvide 264 getKeyGenerator(String algorithm) argument 273 getKeyPairGenerator(String algorithm) argument 282 getKeyAgreement(String algorithm) argument 291 getMac(String algorithm) argument 300 getKeyFactory(String algorithm) argument 341 getMessageDigest(String algorithm) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/ |
H A D | TransformService.java | 49 * transform or canonicalization algorithm and XML mechanism type. To create a 51 * {@link #getInstance getInstance} methods, passing in the algorithm URI and 113 private String algorithm; field in class:TransformService 124 * algorithm URI (ex: {@link Transform#XPATH2}) and mechanism type 129 * of the desired algorithm and <code>MechanismType</code> service 134 * algorithm and mechanism type is returned. 139 * @param algorithm the URI of the algorithm 143 * @throws NullPointerException if <code>algorithm</code> or 147 * algorithm an 150 getInstance(String algorithm, String mechanismType) argument 199 getInstance(String algorithm, String mechanismType, Provider provider) argument 251 getInstance(String algorithm, String mechanismType, String provider) argument 282 private final String algorithm; field in class:TransformService.MechanismMapEntry 284 MechanismMapEntry(String algorithm, String mechanism) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/internal/ssl/ |
H A D | X509ExtendedTrustManager.java | 49 * algorithm. RFC2818 defines both the server identification and the 50 * client identification specification for "HTTPS" algorithm. 75 * The algorithm parameter specifies the client identification protocol 76 * to use. If the algorithm and the peer hostname are available, the 83 * @param algorithm the identification algorithm 91 String authType, String hostname, String algorithm) 100 * The authentication type is the key exchange algorithm portion 104 * The algorithm parameter specifies the server identification protocol 105 * to use. If the algorithm an 90 checkClientTrusted(X509Certificate[] chain, String authType, String hostname, String algorithm) argument 119 checkServerTrusted(X509Certificate[] chain, String authType, String hostname, String algorithm) argument [all...] |
/openjdk7/jdk/test/javax/crypto/Mac/ |
H A D | NullMacSpi.java | 45 public MyMac(MacSpi macSpi, Provider provider,String algorithm) { argument 46 super(macSpi, provider, algorithm);
|