keyValid (property)
Returns True if this key is valid.
Syntax
- (BOOL)keyValid:(int)keyIndex;
public func keyValid(keyIndex: Int32) throws -> Bool
Default Value
FALSE
Remarks
Returns True if this key is valid. The term Valid highly depends onthe kind of the key being stored. A symmetric key is considered validif its length fits the algorithm being set. The validity of anRSA key also ensures that the RSA key elements (primes, exponents,and modulus) are consistent.
The KeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the KeyCount property.
This property is read-only.