Searched refs:algorithms (Results 1 - 25 of 33) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSignatureAndHashAlgorithm.java66 // minimum priority for default enabled algorithms
116 // Note that we do not use the sequence argument for supported algorithms,
175 Collection<SignatureAndHashAlgorithm> algorithms ) {
177 for (SignatureAndHashAlgorithm sigAlg : algorithms) {
187 Collection<SignatureAndHashAlgorithm> algorithms) {
189 if (algorithms != null) {
190 for (SignatureAndHashAlgorithm sigAlg : algorithms) {
200 Collection<SignatureAndHashAlgorithm> algorithms) {
202 if (algorithms != null) {
203 for (SignatureAndHashAlgorithm sigAlg : algorithms) {
186 getAlgorithmNames( Collection<SignatureAndHashAlgorithm> algorithms) argument
199 getHashAlgorithmNames( Collection<SignatureAndHashAlgorithm> algorithms) argument
234 getPreferableAlgorithm( Collection<SignatureAndHashAlgorithm> algorithms, String expected) argument
241 getPreferableAlgorithm( Collection<SignatureAndHashAlgorithm> algorithms, String expected, PrivateKey signingKey) argument
[all...]
H A DSSLSessionImpl.java151 Collection<SignatureAndHashAlgorithm> algorithms,
153 this(protocolVersion, cipherSuite, algorithms,
161 Collection<SignatureAndHashAlgorithm> algorithms,
173 SignatureAndHashAlgorithm.getAlgorithmNames(algorithms);
210 Collection<SignatureAndHashAlgorithm> algorithms) {
212 SignatureAndHashAlgorithm.getAlgorithmNames(algorithms);
748 * Gets an array of supported signature algorithms that the local side is
760 * Gets an array of supported signature algorithms that the peer is
150 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, Collection<SignatureAndHashAlgorithm> algorithms, SecureRandom generator, String host, int port) argument
160 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, Collection<SignatureAndHashAlgorithm> algorithms, SessionId id, String host, int port) argument
209 setPeerSupportedSignatureAlgorithms( Collection<SignatureAndHashAlgorithm> algorithms) argument
H A DHelloExtensions.java790 private Collection<SignatureAndHashAlgorithm> algorithms; field in class:SignatureAlgorithmsExtension
798 algorithms = new ArrayList<SignatureAndHashAlgorithm>(signAlgs);
800 SignatureAndHashAlgorithm.sizeInRecord() * algorithms.size();
812 algorithms = new ArrayList<SignatureAndHashAlgorithm>();
821 algorithms.add(algorithm);
831 return algorithms;
845 for (SignatureAndHashAlgorithm algorithm : algorithms) {
855 for (SignatureAndHashAlgorithm signAlg : algorithms) {
H A DHandshakeMessage.java275 Collection<SignatureAndHashAlgorithm> algorithms) {
277 new SignatureAlgorithmsExtension(algorithms);
676 * This class supports several DH-based key exchange algorithms, though
1269 private Collection<SignatureAndHashAlgorithm> algorithms; field in class:HandshakeMessage.CertificateRequest
1296 "No supported signature algorithms");
1299 algorithms = new ArrayList<SignatureAndHashAlgorithm>(signAlgs);
1301 SignatureAndHashAlgorithm.sizeInRecord() * algorithms.size();
1303 algorithms = new ArrayList<SignatureAndHashAlgorithm>();
1324 algorithms = new ArrayList<SignatureAndHashAlgorithm>();
1334 algorithms
274 addSignatureAlgorithmsExtension( Collection<SignatureAndHashAlgorithm> algorithms) argument
[all...]
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/
H A DSetClientMode.java58 private static String[] algorithms = {"TLS", "SSL", "SSLv3", "TLS"}; field in class:SetClientMode
91 for (int i = 0; i < algorithms.length; i++) {
92 testCombo( algorithms[i] );
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/fastinfoset/
H A DFastInfosetParser.java59 * Map containing encoding algorithms.
63 "http://jvnet.org/fastinfoset/parser/properties/registered-encoding-algorithms";
121 * Sets the set of registered encoding algorithms.
123 * @param algorithms The set of registered algorithms.
125 public void setRegisteredEncodingAlgorithms(Map algorithms); argument
128 * Gets the set of registered encoding algorithms.
130 * @return The set of registered algorithms.
H A DFastInfosetSerializer.java91 * Map containing encoding algorithms.
95 "http://jvnet.org/fastinfoset/parser/properties/registered-encoding-algorithms";
205 * @param characterEncodingScheme The set of registered algorithms.
217 * Sets the set of registered encoding algorithms.
219 * @param algorithms The set of registered algorithms.
221 public void setRegisteredEncodingAlgorithms(Map algorithms); argument
224 * Gets the set of registered encoding algorithms.
226 * @return The set of registered algorithms.
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DGetMaxAllowed.java84 Set<String> algorithms = Security.getAlgorithms("Cipher");
86 for (String algorithm: algorithms) {
107 // test using the set of algorithms returned by Security.getAlgorithms()
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/
H A DAlgorithm.java21 package com.sun.org.apache.xml.internal.security.algorithms;
H A DSignatureAlgorithmSpi.java21 package com.sun.org.apache.xml.internal.security.algorithms;
H A DSignatureAlgorithm.java23 package com.sun.org.apache.xml.internal.security.algorithms;
31 import com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac;
32 import com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureBaseRSA;
33 import com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureDSA;
34 import com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA;
157 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs, ex);
160 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs, ex);
163 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs, ex);
348 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs, ex);
380 * This method registers the default algorithms
[all...]
H A DMessageDigestAlgorithm.java21 package com.sun.org.apache.xml.internal.security.algorithms;
61 * Constructor for the brave who pass their own message digest algorithms and the corresponding URI.
102 throw new XMLSignatureException("algorithms.NoSuchMap", exArgs);
117 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
122 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
H A DClassLoaderUtils.java24 package com.sun.org.apache.xml.internal.security.algorithms;
H A DJCEMapper.java23 package com.sun.org.apache.xml.internal.security.algorithms;
58 * This method registers the default algorithms.
257 * Gets the default Provider for obtaining the security algorithms
265 * Sets the default Provider for obtaining the security algorithms
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DDigesterOutputStream.java25 import com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm;
H A DSignerOutputStream.java25 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithm;
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/
H A DIntegrityHmac.java21 package com.sun.org.apache.xml.internal.security.algorithms.implementations;
34 import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper;
35 import com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm;
36 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithmSpi;
92 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
155 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation",
244 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation",
271 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation",
293 throw new XMLSignatureException("algorithms.CannotUseSecureRandomOnMAC");
H A DSignatureBaseRSA.java21 package com.sun.org.apache.xml.internal.security.algorithms.implementations;
34 import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper;
35 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithmSpi;
77 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
81 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
116 ("algorithms.WrongKeyForThisOperation", exArgs);
159 ("algorithms.WrongKeyForThisOperation", exArgs);
179 ("algorithms.WrongKeyForThisOperation", exArgs);
231 ("algorithms.HMACOutputLengthOnlyForHMAC");
239 "algorithms
[all...]
H A DSignatureDSA.java21 package com.sun.org.apache.xml.internal.security.algorithms.implementations;
34 import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper;
35 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithmSpi;
86 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
89 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
137 ("algorithms.WrongKeyForThisOperation", exArgs);
189 ("algorithms.WrongKeyForThisOperation", exArgs);
211 ("algorithms.WrongKeyForThisOperation", exArgs);
379 "algorithms.HMACOutputLengthOnlyForHMAC");
393 "algorithms
[all...]
H A DSignatureECDSA.java21 package com.sun.org.apache.xml.internal.security.algorithms.implementations;
37 import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper;
38 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithmSpi;
181 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
186 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
227 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation",
275 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation",
295 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation",
350 throw new XMLSignatureException("algorithms.HMACOutputLengthOnlyForHMAC");
358 "algorithms
[all...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/
H A DInit.java35 import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper;
36 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithm;
52 * the mapping of Canonicalization and Transform algorithms. Initialization is
107 * Dynamically initialise the library by registering the default algorithms/implementations
118 log.log(java.util.logging.Level.FINE, "Registering default algorithms");
132 // Set the default signature algorithms
137 // Set the default JCE algorithms
142 // Set the default c14n algorithms
248 Element[] algorithms =
250 for (int i = 0; i < algorithms
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jca/
H A DGetInstance.java124 List<String> algorithms) {
126 return list.getServices(type, algorithms);
131 * the specified algorithms. See getServices(String, String) for detals.
123 getServices(String type, List<String> algorithms) argument
H A DProviderList.java341 * of the specified algorithms in precedence order. If no implementation
358 public List<Service> getServices(String type, List<String> algorithms) { argument
360 for (String alg : algorithms) {
432 // check all algorithms in this provider before moving on
/openjdk7/jdk/src/share/classes/sun/security/tools/
H A DTimestampedSigner.java163 // algorithms. The expected format is:
237 AlgorithmId[] algorithms = {digestAlgorithmId};
240 PKCS7 p7 = new PKCS7(algorithms, contentInfo, signerCertificateChain,
/openjdk7/jdk/test/sun/security/tools/jarsigner/
H A DTimestampCheck.java137 AlgorithmId[] algorithms = {aid};
212 new PKCS7(algorithms, contentInfo, signerCertificateChain,

Completed in 299 milliseconds

12