Searched refs:private_key_info (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/crypto/ |
D | rsa_private_key_nss.cc | 115 PrivateKeyInfoCodec private_key_info(true); in ExportPrivateKey() local 119 if (!ReadAttribute(key_, CKA_MODULUS, private_key_info.modulus()) || in ExportPrivateKey() 121 private_key_info.public_exponent()) || in ExportPrivateKey() 123 private_key_info.private_exponent()) || in ExportPrivateKey() 124 !ReadAttribute(key_, CKA_PRIME_1, private_key_info.prime1()) || in ExportPrivateKey() 125 !ReadAttribute(key_, CKA_PRIME_2, private_key_info.prime2()) || in ExportPrivateKey() 126 !ReadAttribute(key_, CKA_EXPONENT_1, private_key_info.exponent1()) || in ExportPrivateKey() 127 !ReadAttribute(key_, CKA_EXPONENT_2, private_key_info.exponent2()) || in ExportPrivateKey() 128 !ReadAttribute(key_, CKA_COEFFICIENT, private_key_info.coefficient())) { in ExportPrivateKey() 133 return private_key_info.Export(output); in ExportPrivateKey()
|