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

12

/openjdk9/jdk/src/java.base/share/classes/sun/security/ssl/
H A DSignatureAlgorithmsExtension.java58 private Collection<SignatureAndHashAlgorithm> algorithms; field in class:SignatureAlgorithmsExtension
66 algorithms = new ArrayList<SignatureAndHashAlgorithm>(signAlgs);
68 SignatureAndHashAlgorithm.sizeInRecord() * algorithms.size();
80 algorithms = new ArrayList<SignatureAndHashAlgorithm>();
89 algorithms.add(algorithm);
99 return algorithms;
113 for (SignatureAndHashAlgorithm algorithm : algorithms) {
123 for (SignatureAndHashAlgorithm signAlg : algorithms) {
H A DSignatureAndHashAlgorithm.java67 // minimum priority for default enabled algorithms
112 // Note that we do not use the sequence argument for supported algorithms,
170 Collection<SignatureAndHashAlgorithm> algorithms ) {
172 for (SignatureAndHashAlgorithm sigAlg : algorithms) {
184 Collection<SignatureAndHashAlgorithm> algorithms) {
186 if (algorithms != null) {
187 for (SignatureAndHashAlgorithm sigAlg : algorithms) {
197 Collection<SignatureAndHashAlgorithm> algorithms) {
199 if (algorithms != null) {
200 for (SignatureAndHashAlgorithm sigAlg : algorithms) {
183 getAlgorithmNames( Collection<SignatureAndHashAlgorithm> algorithms) argument
196 getHashAlgorithmNames( Collection<SignatureAndHashAlgorithm> algorithms) argument
231 getPreferableAlgorithm( Collection<SignatureAndHashAlgorithm> algorithms, String expected) argument
238 getPreferableAlgorithm( Collection<SignatureAndHashAlgorithm> algorithms, String expected, PrivateKey signingKey) argument
[all...]
H A DSSLSessionImpl.java160 Collection<SignatureAndHashAlgorithm> algorithms,
162 this(protocolVersion, cipherSuite, algorithms,
170 Collection<SignatureAndHashAlgorithm> algorithms,
182 SignatureAndHashAlgorithm.getAlgorithmNames(algorithms);
221 Collection<SignatureAndHashAlgorithm> algorithms) {
223 SignatureAndHashAlgorithm.getAlgorithmNames(algorithms);
916 * Gets an array of supported signature algorithms that the local side is
929 * Gets an array of supported signature algorithms that the peer is
159 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, Collection<SignatureAndHashAlgorithm> algorithms, SecureRandom generator, String host, int port) argument
169 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, Collection<SignatureAndHashAlgorithm> algorithms, SessionId id, String host, int port) argument
220 setPeerSupportedSignatureAlgorithms( Collection<SignatureAndHashAlgorithm> algorithms) argument
/openjdk9/jdk/test/java/security/MessageDigest/
H A DUnsupportedProvider.java39 String[] algorithms = { "SHA3-224", "SHA3-256", "SHA3-384",
43 for (String algo : algorithms) {
65 // Check if specific provider supports SHA-3 hash algorithms
/openjdk9/jdk/test/sun/security/ssl/SSLSocketImpl/
H A DSetClientMode.java56 private static String[] algorithms = {"TLS", "SSL", "SSLv3", "TLS"}; field in class:SetClientMode
89 for (int i = 0; i < algorithms.length; i++) {
90 testCombo( algorithms[i] );
/openjdk9/jaxws/src/java.xml.bind/share/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.
/openjdk9/jdk/src/java.base/share/classes/sun/security/util/
H A DAbstractAlgorithmConstraints.java69 // map the disabled algorithms
76 static boolean checkAlgorithm(String[] algorithms, String algorithm, argument
83 for (String item : algorithms) {
H A DDisabledAlgorithmConstraints.java54 * Algorithm constraints for disabled algorithms property
150 * algorithms are allowed, certificate constraints, and the
364 // Get all signature algorithms to check for constraints
365 Set<String> algorithms = new HashSet<>();
367 algorithms.addAll(AlgorithmDecomposer.decomposeOneHash(algorithm));
372 algorithms.add(cert.getPublicKey().getAlgorithm());
375 algorithms.add(cp.getPublicKey().getAlgorithm());
378 for (String alg : algorithms) {
/openjdk9/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()
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/algorithms/
H A DAlgorithm.java23 package com.sun.org.apache.xml.internal.security.algorithms;
H A DSignatureAlgorithmSpi.java23 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;
160 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs, ex);
163 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs, ex);
166 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs, ex);
354 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs, ex);
389 * This method registers the default algorithms
[all...]
H A DMessageDigestAlgorithm.java23 package com.sun.org.apache.xml.internal.security.algorithms;
64 * Constructor for the brave who pass their own message digest algorithms and the
95 throw new XMLSignatureException("algorithms.NoSuchMap", exArgs);
109 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
113 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
/openjdk9/jdk/test/sun/security/pkcs11/Mac/
H A DMacSameTest.java68 List<String> algorithms = getSupportedAlgorithms("Mac", "Hmac", p);
70 for (String alg : algorithms) {
H A DMacKAT.java27 * @summary Basic known-answer-test for Hmac algorithms
191 List<String> algorithms = getSupportedAlgorithms("Mac", "", p);
193 if(!algorithms.contains(test.getAlg())) {
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DSignerOutputStream.java27 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithm;
H A DDigesterOutputStream.java27 import com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm;
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/keys/content/x509/
H A DXMLX509Digest.java28 import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper;
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/
H A DIntegrityHmac.java23 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;
86 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
123 throw new XMLSignatureException("algorithms.HMACOutputLengthMin", exArgs);
146 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
182 throw new XMLSignatureException("algorithms.HMACOutputLengthMin", exArgs);
203 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
228 throw new XMLSignatureException("algorithms
[all...]
H A DSignatureBaseRSA.java23 package com.sun.org.apache.xml.internal.security.algorithms.implementations;
36 import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper;
37 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithmSpi;
74 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
78 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
108 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
148 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
165 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
215 throw new XMLSignatureException("algorithms.HMACOutputLengthOnlyForHMAC");
222 throw new XMLSignatureException("algorithms
[all...]
H A DSignatureDSA.java23 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;
86 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
89 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
135 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
184 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
204 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
273 throw new XMLSignatureException("algorithms.HMACOutputLengthOnlyForHMAC");
286 throw new XMLSignatureException("algorithms
[all...]
H A DSignatureECDSA.java23 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;
205 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
209 throw new XMLSignatureException("algorithms.NoSuchAlgorithm", exArgs);
248 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
292 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
309 throw new XMLSignatureException("algorithms.WrongKeyForThisOperation", exArgs);
359 throw new XMLSignatureException("algorithms.HMACOutputLengthOnlyForHMAC");
366 throw new XMLSignatureException("algorithms
[all...]
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/
H A DInit.java37 import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper;
38 import com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithm;
55 * the mapping of Canonicalization and Transform algorithms. Initialization is
110 * Dynamically initialise the library by registering the default algorithms/implementations
121 log.log(java.util.logging.Level.FINE, "Registering default algorithms");
137 // Set the default signature algorithms
142 // Set the default JCE algorithms
147 // Set the default c14n algorithms
258 Element[] algorithms =
260 for (int i = 0; i < algorithms
[all...]
/openjdk9/jdk/src/java.base/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

Completed in 210 milliseconds

12