adds a new keyczarkey new version to the key store . associates it with given version . adds new keyversion to the key set . concode_field_sep KeyVersion primaryVersion concode_elem_sep KeyMetadata kmd concode_elem_sep byte[] data concode_elem_sep Logger LOG concode_elem_sep int HEADER_SIZE concode_elem_sep HashMap<KeyHash,KeyczarKey> hashMap concode_elem_sep HashMap<KeyVersion,KeyczarKey> versionMap concode_elem_sep String DEFAULT_ENCODING concode_elem_sep byte[] FORMAT_BYTES concode_elem_sep byte FORMAT_VERSION concode_elem_sep int KEY_HASH_SIZE concode_field_sep KeyczarKey getPrimaryKey concode_elem_sep KeyczarKey getKey concode_elem_sep boolean isAcceptablePurpose concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString
void function ( KeyVersion arg0 , KeyczarKey arg1 ) { hashMap . put ( new KeyHash ( arg1 . hash ( ) ) , arg1 ) ; versionMap . put ( arg0 , arg1 ) ; kmd . addVersion ( arg0 ) ; }