Home
last modified time | relevance | path

Searched refs:encryptedData (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java64 private byte[] encryptedData; field in EncryptedPrivateKeyInfo
100 this.encryptedData = seq[1].getOctetString(); in EncryptedPrivateKeyInfo()
131 public EncryptedPrivateKeyInfo(String algName, byte[] encryptedData) in EncryptedPrivateKeyInfo() argument
139 if (encryptedData == null) { in EncryptedPrivateKeyInfo()
142 } else if (encryptedData.length == 0) { in EncryptedPrivateKeyInfo()
146 this.encryptedData = encryptedData.clone(); in EncryptedPrivateKeyInfo()
173 byte[] encryptedData) throws NoSuchAlgorithmException { in EncryptedPrivateKeyInfo() argument
180 if (encryptedData == null) { in EncryptedPrivateKeyInfo()
182 } else if (encryptedData.length == 0) { in EncryptedPrivateKeyInfo()
186 this.encryptedData = encryptedData.clone(); in EncryptedPrivateKeyInfo()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DEncryptedPrivateKeyInfoTest.java415 EncryptedPrivateKeyInfoData.encryptedData); in testEncryptedPrivateKeyInfoStringbyteArray1()
435 EncryptedPrivateKeyInfoData.encryptedData); in testEncryptedPrivateKeyInfoStringbyteArray2()
442 EncryptedPrivateKeyInfoData.encryptedData); in testEncryptedPrivateKeyInfoStringbyteArray2()
464 EncryptedPrivateKeyInfoData.encryptedData); in testEncryptedPrivateKeyInfoStringbyteArray3()
506 byte[] encryptedDataCopy = EncryptedPrivateKeyInfoData.encryptedData in testEncryptedPrivateKeyInfoStringbyteArray5()
514 assertTrue(Arrays.equals(EncryptedPrivateKeyInfoData.encryptedData, in testEncryptedPrivateKeyInfoStringbyteArray5()
564 EncryptedPrivateKeyInfoData.encryptedData); in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray1()
576 EncryptedPrivateKeyInfoData.encryptedData); in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray1()
602 EncryptedPrivateKeyInfoData.encryptedData); in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray2()
663 byte[] encryptedDataCopy = EncryptedPrivateKeyInfoData.encryptedData.clone(); in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray4()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DEncryptedPrivateKeyInfoData.java1131 public static final byte[] encryptedData; field in EncryptedPrivateKeyInfoData
1159 encryptedData = new byte[1024];
1160 for (int i = 0; i < encryptedData.length; i++) {
1161 encryptedData[i] = (byte) i;