/openjdk9/jdk/src/java.base/share/classes/sun/security/ssl/ |
H A D | RSASignature.java | 32 * Signature implementation for the SSL/TLS RSA Signature variant with both 37 * It conforms to the standard JCA Signature API. It is registered in the 52 private final Signature rawRsa; 69 static Signature getInstance() throws NoSuchAlgorithmException { 78 static Signature getInternalInstance() 80 return Signature.getInstance(JsseJce.SIGNATURE_SSLRSA, "SunJSSE"); 87 static void setHashes(Signature sig, MessageDigest md5, MessageDigest sha) {
|
/openjdk9/jdk/test/sun/security/ |
H A D | TestSignatureOidHelper.java | 29 import java.security.Signature; 76 Signature sgAlgorithm = 77 Signature.getInstance(oidAlgorithmPair.algorithm, provider); 78 Signature sgOid = Signature.getInstance(oidAlgorithmPair.oid, provider); 105 "Signature verification failed unexpectedly");
|
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ |
H A D | Signature.java | 35 public final class Signature extends Attribute { class in inherits:Attribute 42 public Signature(Signature c) { method in class:Signature 54 Signature(int name_index, int length, DataInputStream file, method in class:Signature 66 public Signature(int name_index, int length, int signature_index, method in class:Signature 81 System.err.println("Visiting non-standard Signature object"); 254 return "Signature(" + s + ")"; 261 return (Signature)clone();
|
/openjdk9/jdk/src/java.base/share/classes/java/security/ |
H A D | SignedObject.java | 42 * <p> The underlying signing algorithm is designated by the Signature 47 * Signature signingEngine = Signature.getInstance(algorithm, 57 * Signature verificationEngine = 58 * Signature.getInstance(algorithm, provider); 77 * verifier code be aware what {@code Signature} engine is being 80 * {@code Signature} may choose to always return true on 94 * also by the Signature parameter to the constructor and the 114 * @see Signature 148 Signature signingEngin [all...] |
/openjdk9/jdk/test/java/security/Signature/ |
H A D | ByteBuffers.java | 27 * @summary Test the Signature.update(ByteBuffer) method 50 Signature sig = Signature.getInstance("DSA", p); 80 private static void verify(Signature sig, byte[] signature, ByteBuffer b, Random random) throws Exception { 93 throw new Exception("Signature did not verify");
|
H A D | NoProvider.java | 27 * @summary Verify that that a subclass of Signature that does not contain a 49 private static class NoProviderSignature extends Signature {
|
/openjdk9/jdk/test/sun/security/pkcs11/Secmod/ |
H A D | GetPrivateKey.java | 41 import java.security.Signature; 79 Signature signature = Signature.getInstance("MD5withRSA"); 90 throw new Exception("Signature verification error");
|
/openjdk9/jdk/src/java.base/share/classes/sun/reflect/generics/tree/ |
H A D | ClassSignature.java | 30 public class ClassSignature implements Signature {
|
H A D | MethodTypeSignature.java | 30 public class MethodTypeSignature implements Signature {
|
/openjdk9/jdk/test/sun/security/pkcs11/Signature/ |
H A D | ByteBuffers.java | 27 * @summary Test the Signature.update(ByteBuffer) method 40 import java.security.Signature; 76 Signature sig = Signature.getInstance("MD5withRSA", p); 106 private static void verify(Signature sig, byte[] signature, ByteBuffer b, Random random) throws Exception { 119 throw new Exception("Signature did not verify");
|
H A D | TestDSA.java | 45 import java.security.Signature; 99 Signature s = Signature.getInstance(alg, provider); 140 if (provider.getService("Signature", "SHA1withDSA") == null) { 175 Signature s = Signature.getInstance("SHA1withDSA", provider); 186 s = Signature.getInstance("RawDSA", provider); 207 s = Signature.getInstance("SHA1withDSA", provider); 215 s = Signature.getInstance("RawDSA", provider);
|
/openjdk9/jdk/src/java.base/share/classes/sun/reflect/misc/ |
H A D | MethodUtil.java | 109 Map<Signature, Method> sigs = new HashMap<Signature, Method>(); 125 Map<Signature, Method> sigs) { 141 Map<Signature, Method> sigs) { 199 private static void addMethod(Map<Signature, Method> sigs, Method method) { 200 Signature signature = new Signature(method); 218 private static class Signature { class in class:MethodUtil 223 Signature(Method m) { method in class:MethodUtil.Signature 237 Signature tha [all...] |
/openjdk9/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ |
H A D | JavaMethod.java | 48 Signature getSignature(); 78 Signature sig = null;
|
/openjdk9/jdk/src/java.base/share/classes/sun/reflect/generics/repository/ |
H A D | GenericDeclRepository.java | 31 import sun.reflect.generics.tree.Signature; 42 public abstract class GenericDeclRepository<S extends Signature>
|
/openjdk9/jdk/test/java/security/Security/ |
H A D | SynchronizedAccess.java | 72 Signature sig = Signature.getInstance("sigalg"); 91 put("Signature.sigalg", "sigimpl");
|
/openjdk9/jdk/test/sun/security/provider/DSA/ |
H A D | TestDSA2.java | 84 Signature dsa = Signature.getInstance(SIG_ALGOS[i], PROV);
|
H A D | TestDSA.java | 87 Signature s = Signature.getInstance(alg, provider); 131 Signature s = Signature.getInstance("SHA1withDSA", provider); 142 s = Signature.getInstance("RawDSA", provider); 163 s = Signature.getInstance("SHA1withDSA", provider); 171 s = Signature.getInstance("RawDSA", provider);
|
/openjdk9/langtools/test/tools/javac/varargs/warning/ |
H A D | Warn4.java | 157 enum Signature implements ComboParameter { enum in class:Warn4 172 Signature(String template, Warning[][] warnings) { method in class:Warn4.Signature 177 boolean isApplicableTo(Signature other) { 181 boolean giveUnchecked(Signature other) { 186 boolean giveVarargs(Signature other) { 212 .withArrayDimension("MTH", (x, sig, idx) -> x.sigs[idx] = sig, 2, Signature.values()) 220 Signature[] sigs = new Signature[2];
|
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/beans/finder/ |
H A D | MethodFinder.java | 49 private static final Cache<Signature, Method> CACHE = new Cache<Signature, Method>(SOFT, SOFT) { 51 public Method create(Signature signature) { 78 Signature signature = new Signature(type, name, args);
|
/openjdk9/jdk/test/sun/security/pkcs11/rsa/ |
H A D | TestKeyPairGenerator.java | 45 import java.security.Signature; 60 Signature s = Signature.getInstance(algorithm, provider); 89 Signature sig = Signature.getInstance("MD5withRSA", provider);
|
/openjdk9/jdk/test/java/security/Provider/ |
H A D | Turkish.java | 50 System.out.println(Signature.getInstance("MD5withRSA")); 51 System.out.println(Signature.getInstance("md5withrsa")); 52 System.out.println(Signature.getInstance("MD5WITHRSA")); 54 s1 = p1.getService("Signature", "MD5withRSA"); 56 check(s1, p1.getService("Signature", "md5withrsa")); 57 check(s1, p1.getService("Signature", "MD5WITHRSA")); 58 check(s1, p1.getService("Signature", "MD5RSA")); 59 check(s1, p1.getService("Signature", "md5rsa")); 60 check(s1, p1.getService("Signature", "MD5rsa")); 62 s1 = p1.getService("Signature", "SHAwithRS [all...] |
/openjdk9/jdk/test/sun/security/pkcs11/ec/ |
H A D | TestECDSA2.java | 45 import java.security.Signature; 72 Signature s = Signature.getInstance(alg, p); 80 throw new Exception("Error: Signature verification failed"); 107 (provider.getService("Signature", "SHA256withECDSA") != null); 110 (provider.getService("Signature", "SHA384withECDSA") != null);
|
/openjdk9/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/ |
H A D | VMIntrinsicMethod.java | 25 import jdk.vm.ci.meta.Signature; 46 * The {@link Signature#toMethodDescriptor() descriptor} of the intrinsified method. This is not
|
/openjdk9/jdk/src/java.xml.crypto/share/classes/javax/xml/crypto/dsig/ |
H A D | XMLSignature.java | 43 import java.security.Signature; 47 * A representation of the XML <code>Signature</code> element as 49 * W3C Recommendation for XML-Signature Syntax and Processing</a>. 54 * <element name="Signature" type="ds:SignatureType"/> 75 * <code>Signature</code> to avoid naming clashes with the existing 76 * {@link Signature java.security.Signature} class. 89 * The XML Namespace URI of the W3C Recommendation for XML-Signature 187 * W3C Recommendation for XML-Signature Syntax and Processing</a>.
|
/openjdk9/jdk/test/sun/security/mscapi/ |
H A D | SignUsingSHA2withRSA.java | 41 Provider[] providers = Security.getProviders("Signature.SHA256withRSA"); 44 "'Signature.SHA256withRSA' algorithm"); 50 "'Signature.SHA256withRSA' algorithm: "); 96 Signature sig1 = Signature.getInstance(signAlgorithm, "SunMSCAPI"); 129 Signature sig1 = Signature.getInstance(signAlgorithm, "SunMSCAPI"); 138 System.out.println("\nVerifying RSA Signature over a " +
|