Searched refs:keyName (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/keystore/java/android/security/ |
D | SystemKeyStore.java | 67 public String generateNewKeyHexString(int numBits, String algName, String keyName) in generateNewKeyHexString() argument 69 return toHexString(generateNewKey(numBits, algName, keyName)); in generateNewKeyHexString() 72 public byte[] generateNewKey(int numBits, String algName, String keyName) in generateNewKey() argument 76 File keyFile = getKeyFile(keyName); in generateNewKey() 107 private File getKeyFile(String keyName) { in getKeyFile() argument 110 File keyFile = new File(sysKeystoreDir, keyName + KEY_FILE_EXTENSION); in getKeyFile() 114 public String retrieveKeyHexString(String keyName) throws IOException { in retrieveKeyHexString() argument 115 return toHexString(retrieveKey(keyName)); in retrieveKeyHexString() 118 public byte[] retrieveKey(String keyName) throws IOException { in retrieveKey() argument 119 File keyFile = getKeyFile(keyName); in retrieveKey() [all …]
|
D | KeyStore.java | 167 private boolean importKey(byte[] keyName, byte[] key) { in importKey() argument 168 execute('m', keyName, key); in importKey() 172 public boolean importKey(String keyName, byte[] key) { in importKey() argument 173 return importKey(getBytes(keyName), key); in importKey() 194 private byte[] sign(byte[] keyName, byte[] data) { in sign() argument 195 final ArrayList<byte[]> values = execute('n', keyName, data); in sign() 203 private boolean verify(byte[] keyName, byte[] data, byte[] signature) { in verify() argument 204 execute('v', keyName, data, signature); in verify()
|
/frameworks/base/keystore/tests/src/android/security/ |
D | SystemKeyStoreTest.java | 34 private static final String keyName = "TestKey"; field in SystemKeyStoreTest 46 mSysKeyStore.deleteKey(keyName); in setUp() 55 mSysKeyStore.deleteKey(keyName); in tearDown() 63 byte[] newKey = mSysKeyStore.generateNewKey(128, "AES", keyName); in testBasicAccess() 65 byte[] recKey = mSysKeyStore.retrieveKey(keyName); in testBasicAccess() 70 mSysKeyStore.deleteKey(keyName); in testBasicAccess() 71 byte[] nullKey = mSysKeyStore.retrieveKey(keyName); in testBasicAccess()
|
/frameworks/wilhelm/src/android/ |
D | android_AudioSfDecoder.h | 67 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
|
D | android_AudioSfDecoder.cpp | 109 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { in getPcmFormatKeyName() argument 117 strncpy(keyName, kPcmDecodeMetadataKeys[index], actualKeySize); in getPcmFormatKeyName()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfigStore.java | 1489 final String keyName; in migrateOldEapTlsIfNecessary() local 1491 keyName = new String(value.substring(WifiConfiguration.KEYSTORE_URI.length())); in migrateOldEapTlsIfNecessary() 1493 keyName = value; in migrateOldEapTlsIfNecessary() 1495 config.key_id.setValue(convertToQuotedString(keyName)); in migrateOldEapTlsIfNecessary()
|