/prebuilts/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/ |
functional | 123 template<typename Signature, typename Allocator > 125 template<typename Signature, typename Allocator> 126 void swap(function<Signature, Allocator>& f1, function<Signature, Allocator>& f2);
|
/prebuilts/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/ |
functional | 123 template<typename Signature, typename Allocator > 125 template<typename Signature, typename Allocator> 126 void swap(function<Signature, Allocator>& f1, function<Signature, Allocator>& f2);
|
/prebuilts/ndk/android-ndk-r7/sources/cxx-stl/stlport/stlport/ |
functional | 123 template<typename Signature, typename Allocator > 125 template<typename Signature, typename Allocator> 126 void swap(function<Signature, Allocator>& f1, function<Signature, Allocator>& f2);
|
/frameworks/base/services/java/com/android/server/ |
PackageManagerBackupAgent.java | 26 import android.content.pm.Signature; 63 // version & signature info of each app in a restore set 75 public Signature[] signatures; 77 Metadata(int version, Signature[] sigs) { 119 // The backed up data is the signature block for each app, keyed by 161 // write its signature block to the output, keyed on the package name. 203 * byte[] signatures -- [len] flattened Signature[] of the package 292 Signature[] sigs = readSignatureArray(inputBufferStream); 312 // On successful completion, cache the signature map for the Backup Manager to use 316 private static void writeSignatureArray(DataOutputStream out, Signature[] sigs [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignatureTest.java | 31 import java.security.Signature; 47 * Tests for <code>Signature</code> constructor and methods 53 * Class under test for Signature(String) 122 Signature sig = getTestSignature(); 142 Signature sig = getTestSignature(); 163 Signature signature = getTestSignature(); local 164 signature.initSign(null); 173 private Signature getTestSignature() throws NoSuchAlgorithmException { 174 Provider provider = new MyProvider("TestProvider", 1.0, "Test Provider", "Signature.ABC", MySignature.class.getName()) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/ |
Signature.java | 41 public class Signature 44 Signature(Digest digest, DSA signer, DSAEncoder encoder) 114 extends Signature 123 extends Signature 133 // extends Signature 143 extends Signature 152 extends Signature 161 extends Signature 171 // extends Signature 180 // extends Signature [all...] |
/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterSignatureHelper.java | 25 import java.security.Signature; 46 Signature signature = null; local 48 signature = Signature.getInstance(algorithmName); 77 signature.initSign(keyPair.getPrivate()); 83 signature.update(plainData.getBytes()); 90 signed = signature.sign(); 96 signature.initVerify(keyPair.getPublic()); 102 signature.update(plainData.getBytes()) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1withDSA_SignatureTest.java | 21 * invoked on a Signature objects whose state is "INIT" or "VERIFY". 25 * because of compatibility with RI issue in current implementation of the Signature class. 38 import java.security.Signature; 61 private Signature signs[]; 63 private Signature signingSigns[]; 65 private Signature verifyingSign; 98 private static byte signature[]; field in class:SHA1withDSA_SignatureTest 154 signs = new Signature[] { Signature.getInstance(algorithm, provider), 155 Signature.getInstance(algorithm, provider) [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Signature_Impl1Test.java | 29 * Tests for <code>Signature</code> constructor and methods 56 assertEquals("state", Signature.SIGN, s.getState()); 65 assertEquals("toString() failed", "SIGNATURE ABC state: UNINITIALIZED",
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509Util.java | 11 import java.security.Signature; 106 // The parameters field SHALL be NULL for RSA based signature algorithms. 220 static Signature getSignatureInstance( 224 return Signature.getInstance(algorithm); 227 static Signature getSignatureInstance( 234 return Signature.getInstance(algorithm, provider); 238 return Signature.getInstance(algorithm); 250 Signature sig; 254 throw new IllegalStateException("no signature algorithm specified"); 282 Signature sig [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
BoundObject.cpp | 57 v8::Local<v8::Signature> signature = v8::Signature::New(m_hostTemplate); local 65 signature),
|
/hardware/ti/omap3/dspbridge/inc/ |
mem.h | 107 * Allocate an object, and set it's signature. 111 * Signature: Magic field value. Must be non-zero. 120 #define MEM_AllocObject(pObj, Obj, Signature) \ 124 pObj->dwSignature = Signature; \ 257 * Utility macro to invalidate an object's signature, and deallocate it. 307 * Sig: Expected signature DWORD.
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
mem.h | 107 * Allocate an object, and set it's signature. 111 * Signature: Magic field value. Must be non-zero. 120 #define MEM_AllocObject(pObj, Obj, Signature) \ 124 pObj->dwSignature = Signature; \ 257 * Utility macro to invalidate an object's signature, and deallocate it. 307 * Sig: Expected signature DWORD.
|
/libcore/luni/src/main/java/java/security/ |
SignedObject.java | 30 * digital signature of the serialized data. 38 private byte[] signature; field in class:SignedObject 49 tmp = new byte[signature.length]; 50 System.arraycopy(signature, 0, tmp, 0, signature.length); 51 signature = tmp; 56 * the private key and the engine to compute the signature. The given 64 * the engine that performs the signature generation. 70 * if signature generation failed. 73 Signature signingEngine) throws IOException, InvalidKeyException [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertImpl.java | 33 import java.security.Signature; 81 private volatile byte[] signature; field in class:X509CertImpl 85 // indicates whether the signature algorithm parameters are null 232 byte[] result = signature; 234 signature = result = certificate.getSignatureValue(); 372 Signature signature; local 374 signature = Signature.getInstance(getSigAlgName(), OpenSSLProvider.PROVIDER_NAME); 376 signature = Signature.getInstance(getSigAlgName()) 392 Signature signature; local [all...] |
/frameworks/base/core/java/android/webkit/ |
PluginManager.java | 31 import android.content.pm.Signature; 79 private static final Signature[] SIGNATURES = new Signature[] { 80 new Signature(SIGNATURE_1) 244 Signature signatures[] = pkgInfo.signatures; 250 for (Signature signature : signatures) { 252 if (SIGNATURES[i].equals(signature)) {
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/ |
PKCS10CertificationRequest.java | 12 import java.security.Signature; 54 * signature BIT STRING 186 // The parameters field SHALL be NULL for RSA based signature algorithms. 362 throw new IllegalArgumentException("Unknown signature type requested"); 399 Signature sig; 402 sig = Signature.getInstance(signatureAlgorithm); 406 sig = Signature.getInstance(signatureAlgorithm, provider); 513 Signature sig; 519 sig = Signature.getInstance(getSignatureName(sigAlgId)); 523 sig = Signature.getInstance(getSignatureName(sigAlgId), provider) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelTest.java | 26 import android.content.pm.Signature; 307 Signature s = new Signature(signatureString); 449 Signature[] signatures = {new Signature("1234"), 450 new Signature("ABCD"), 451 new Signature("abcd")}; [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
SignatureTest.java | 28 import java.security.Signature; 53 if (!type.equals("Signature")) { 59 // Signature.getInstance(String) 60 Signature sig1 = Signature.getInstance(algorithm); 64 // Signature.getInstance(String, Provider) 65 Signature sig2 = Signature.getInstance(algorithm, provider); 70 // Signature.getInstance(String, String) 71 Signature sig3 = Signature.getInstance(algorithm, provider.getName()) 115 assertNotNull(sig.getAlgorithm(), signature); local [all...] |
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 499 // Read the stream signature. 500 char Signature[6]; 501 Signature[0] = Stream.Read(8); 502 Signature[1] = Stream.Read(8); 503 Signature[2] = Stream.Read(4); 504 Signature[3] = Stream.Read(4); 505 Signature[4] = Stream.Read(4); 506 Signature[5] = Stream.Read(4); 510 if (Signature[0] == 'B' && Signature[1] == 'C' & [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/netscape/ |
NetscapeCertRequest.java | 13 import java.security.Signature; 37 * signature BIT STRING 79 // signature BIT STRING 197 // Verify the signature .. shows the response was generated 200 Signature sig = Signature.getInstance(sigAlg.getObjectId().getId(), 220 Signature sig = Signature.getInstance(sigAlg.getObjectId().getId(),
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
RSA_SHA1.java | 17 package net.oauth.signature; 25 import java.security.Signature; 193 byte[] signature = sign(baseString.getBytes(OAuth.ENCODING)); 194 return base64Encode(signature); 203 protected boolean isValid(String signature, String baseString) 206 return verify(decodeBase64(signature), 221 Signature signer = Signature.getInstance("SHA1withRSA"); 227 private boolean verify(byte[] signature, byte[] message) 234 Signature verifier = Signature.getInstance("SHA1withRSA") [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
DigitalSignature.java | 24 import java.security.Signature; 36 * This class represents Signature type, as described in TLS v 1.0 Protocol 51 * } Signature; 61 private final Signature signature; field in class:DigitalSignature 68 * Create Signature type 78 signature = null; 81 signature = Signature.getInstance("NONEwithDSA"); 86 signature = null [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/ |
SignedJarBuilder.java | 41 import java.security.Signature; 54 * A Jar file builder with signature support. 61 /** Write to another stream and also feed it to the Signature object. */ 63 private Signature mSignature; 66 public SignatureOutputStream(OutputStream out, Signature sig) { 260 Signature signature = Signature.getInstance("SHA1with" + mKey.getAlgorithm()); local 261 signature.initSign(mKey); 263 writeSignatureFile(new SignatureOutputStream(mOutputJar, signature)); [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
X509SignatureUtil.java | 22 import java.security.Signature; 33 Signature signature, 39 AlgorithmParameters sigParams = AlgorithmParameters.getInstance(signature.getAlgorithm(), signature.getProvider()); 50 if (signature.getAlgorithm().endsWith("MGF1")) 54 signature.setParameter(sigParams.getParameterSpec(PSSParameterSpec.class));
|